Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/HierarchicalNavigation?rev1=2&rev2=1
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 23:20:21 2014
Кодировка:
%TOPICTITLE% (1 vs. 2) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r2  >  r1  ...
HierarchicalNavigation 2 - 2006-11-25 - Main.TWikiContributor
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Hierarchical Navigation

Line: 17 to 17
 

Displaying the Parent - Current - Children block

Changed:
<
<
<--/twikiHierarchicalNavigation-->
>
>
<--/twikiHierarchicalNavigation-->
  generates:
Changed:
<
<
<--/twikiHierarchicalNavigation-->
>
>
<--/twikiHierarchicalNavigation-->
 

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

Changed:
<
<
<--/twikiHierarchicalNavigation-->
>
>
<--/twikiHierarchicalNavigation-->
 

Displaying child topics

*Child topics:*
Changed:
<
<
<--/twikiHierarchicalNavigation-->
>
>
<--/twikiHierarchicalNavigation-->
  generates:

Child topics:

Changed:
<
<
<--/twikiHierarchicalNavigation-->
>
>
<--/twikiHierarchicalNavigation-->
 


HierarchicalNavigation 1 - 2006-11-25 - 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:

<--/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-->

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

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


Revision 2r2 - 2006-11-25 - 16:21:07 - TWikiContributor
Revision 1r1 - 2006-11-25 - 16:21:07 - TWikiContributor
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.HierarchicalNavigation
Syndicate this site RSSATOM