Patch #3962

Updated by Go MAEDA almost 7 years ago

Add a new parameter to the @{{child_pages}}@ {{child_pages}} macro to control the maximum nesting. It's name is maxnesting and it's an integer. The defualt is to be fully recursive (unlimited nesting). Giving 0 as maximum nesting results in only direct children, 1 with also their children, etc.

Patch is based on 0.8.4, but it should be working on trunk also.

Back