navTree

Generates the HTML for a full site tree. This method can be used as a shorthand for recursively iterating over pagelists to create nested lists of page links.

<@ navTree { options } @>

Options

all Boolean
Expand all pages. If set to false, only pages within the path to the current page get expanded. The default is true.
context String
The root page of the tree. The default is "".
rootLevel Boolean|Integer
A kind of flexible root page. The page at a given level in the current path will be used as root page. The default is false.
excludeHidden Boolean
Exclude hidden pages from the tree. The default is true.
class Boolean|String
The class of the <ul> element. The default is false.
active Boolean|String
The class of the active <li> element. The default is false.
navTop newPagelist