META TOPICPARENT | name="WebHome" |
Hierarchical Navigation
Navigation block that displays the current topic, its parent and children (if any).
This is intended to be included in other topics, for example in a side navigation bar (WebLeftBar).
NOTE: The lookup for parent and children will increase the loading time of your pages.
Usage
Two sections are defined:
Displaying the Parent - Current - Children block
%INCLUDE{"%TWIKIWEB%.HierarchicalNavigation" section="all"}%
generates:
<--/twikiHierarchicalNavigation-->
When included in WebLeftBar (using default Pattern skin) this is styled to:
<--/twikiHierarchicalNavigation-->
Displaying child topics
*Child topics:*
%INCLUDE{"%TWIKIWEB%.HierarchicalNavigation" section="children"}%
generates:
Child topics:
<--/twikiHierarchicalNavigation-->
<--/twikiHierarchicalNavigation-->
<--/twikiHierarchicalNavigation-->
|