Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r1
HierarchicalNavigation 1 - 25 Nov 2006 - Main.TWikiContributor
Line: 1 to 1
Added:
>
>
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:
  • all
  • children

Displaying the Parent - Current - Children block

%INCLUDE{"%TWIKIWEB%.HierarchicalNavigation" section="all"}%
generates:

  • HierarchicalNavigation
<--twikiChildTopics-->
<--/twikiHierarchicalNavigation-->

When included in WebLeftBar (using default Pattern skin) this is styled to:

  • HierarchicalNavigation
<--twikiChildTopics-->
<--/twikiHierarchicalNavigation-->

Displaying child topics

*Child topics:*
%INCLUDE{"%TWIKIWEB%.HierarchicalNavigation" section="children"}%
generates:

Child topics:

<--twikiChildTopics-->
<--/twikiHierarchicalNavigation-->

  • HierarchicalNavigation
<--twikiChildTopics-->
<--/twikiHierarchicalNavigation-->

<--twikiChildTopics-->
<--/twikiHierarchicalNavigation-->


Revision 1r1 - 25 Nov 2006 - 16:21:07 - TWikiContributor
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM