section_list
Attributes:
- sections="section name(s)" • Comma-separated list of section names to include in the list, displayed in specified order (unless overriden with sort attribute). Default is unset, leading to an unrestricted list of all sections.
- exclude="section name(s)" • Comma-separated list of section names to exclude from the list. Default is unset. sections takes codecendence over exclude.
- include_default="boolean" • Whether to include "default" section in section list. Default is 0.
- sort="sort value(s)" • How to sort the resulting list. Available values: name, page, css, is_default, in_rss, on_frontpage, searchable, title, rand() (random). Default is name asc.
- label="text" • Label for the top of the list. Default is unset.
- default_title="text" • Text used as a title for the "default" section when include_default is set to 1. Default is Site Name.
- labeltag="tag" • (X)HTML tag (without brackets) to wrap around label. Default is unset.
- form="form name" • Use specified form. Default is unset.
- wraptag="tag" • (X)HTML tag (without brackets) to wrap around list. Default is unset.
- break="tag" • (X)HTML tag (without brackets) or string used to separate list items. Default is br.
- class="class name" • (X)HTML class attribute to be applied to the specified wraptag. Default is section_list.
- active_class="class name" • (X)HTML class attribute to be applied to the "active" or current link in a list. Default is unset.
Behaviors:
The section_list tag can be used as either a single or container tag, and is used to produce a list of linked sections. Tags used within section_list are context sensitive to the section currently being linked in the recursion process.