wiki:ChildNavPlugin

Macro for listing child wiki pages

Description

This plugin adds a [[ChildNav]] wiki macro resulting in a listing of all child pages of the current wiki page. Grand children are not displayed. The page hierarchy is assumed to be built with / as a separator.

The output shows up as an unnumbered list.

The plugin is based on the SiblingNavPlugin by Wouter Bolsterlee.

Feedback

If you have any questions, issues or patches, please contact me via e-mail: mbertheau@…. I don't read TracHacks tickets, sorry.

Download Source

ChildNav.py

Example

Simple usage for the current page: [[ChildNav]]

For a navigation list for a different page prefix, use [[ChildNav(PagePrefix)]].

Example output for a bunch of pages in the Meetings/ hierarchy:

Author/Contributors

Author: MarkusBertheau

Last modified 5 years ago Last modified on Sep 2, 2009 9:49:08 PM

Attachments (1)

Download all attachments as: .zip