The folders tag can be used to enumerate the virtual folders that have been defined for a template.
Please see Core Concepts - Folders for an in-depth discussion of this tag.
This parameter can be used to specify the template the folders of which are to be enumerated. If skipped, the template this tag is being used from is used.
Only a sub-section of the folders tree can be enumerated by specifying a folder as this parameter. The folder specified as the root is returned along with all its children.
Only a sub-section of the folders tree can be enumerated by specifying a folder as this parameter. Only the children of the specified folder are returned.
By setting this parameter the folders tag can be made to enumerate the folders in their hierarchical order. If skipped, the folders are enumerated in the alphabetical order of their names.
This parameter can be set to specify the maximum level in hierarchy (i.e. depth) that will be reached during enumeration. This can be used, for example, to list only the top folders in the tree by setting the depth to 1. A depth of 0 means unlimited depth.
This parameter can be set to order the enumerated folders according to the following- name, title, id, count or weight. If skipped, name is used as default.
Can be set to specify whether the enumerated folders are ordered in the ascending order or in descending order. Valid values are asc and desc. Default is asc.
Folders can be excluded from being enumerated by specifying them with this parameter. If an excluded folder has children, they are excluded too.
If multiple folders are to be excluded, separate them with comma.
If this parameter is set, additional variables get set to report the changes in hierarchy encountered by the folders tag, as it traverses through the folder tree. Please see the Variables section below.
The following variables are set to provide information about each folder that gets enumerated
If the hierarchical parameter is set to '1', the following variables also get set to indicate the current position in the hierarchy as this tag enumerates the folders -
You can use these variables to easily create HTML ordered or unordered lists. Please see Folders in Core Concepts.