WebGUI
      Click here to register.
      
PBWG Banner

ParentPageTitle

User: macroelite
Date: 2/26/2007 3:40 pm
Views: 933
Rating: 1    Rate [
|
]

Macro for returning the parent page title for the current page. This will work the same as the RootTitle macro with the exception of the ability to pass in the asset ID for the "root" page which will be excluded.

    Home
        -> WebGUI Development
            -> API
            -> Documentation
            -> Macros

            
If the macro is used in the template as ^ParentPageTitle(<home assetId>); then home is excluded from any results. The title "WebGUI Development" would be displayed when any of the sub-pages (or sub sub-pages, etc) are viewed.



Replies

PreviousBackNext