Project

General

Profile

Actions

Feature #10789

closed

Macros {{child_pages}} with depth parameter

Added by Alexander Oryol over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

The default behaviour of child_pages is two levels nesting.
It strongly restrict applicability of macros.

This small patch adds optional parameter depth with default value = 2.

{{child_pages(Foo, parent=1, depth=3)}}

Files

child_pages_with_depth.patch (2.31 KB) child_pages_with_depth.patch Alexander Oryol, 2012-04-27 11:03
child_pages_with_depth1.patch (2.31 KB) child_pages_with_depth1.patch Alexander Oryol, 2012-04-27 11:17

Related issues

Has duplicate Redmine - Patch #3962: Add a maximum nesting option to the {{child_pages}} macroClosed2009-10-02

Actions
Actions

Also available in: Atom PDF