Project

General

Profile

Actions

Feature #1975

closed

Extend child pages macro to display child pages based on page parameter

Added by Kien Tran over 15 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
Start date:
2008-09-30
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

A feature I would like to see is a macro that would create a list of child pages based on an input of a page for table of contents/index purposes.

Example:
ParentA has 3 Child pages, ChildA,ChildB,ChildC.

Current: child_pages displays the child pages of the current page in a list.
Proposed: child_pages(ParentA) displays the child pages of the page ParentA in a list. (retain default behavior with no param)
  • ParentA
    • ChildA
    • ChildB
    • ChildC
Real World Example:
This way someone can easily add a list of pages concerning a topic.
  • Servers
    • Web Server
    • Mail Server
  • Printers
    • Upstairs Printer
    • Downstairs Printer
Actions

Also available in: Atom PDF