Skip to main content

Folder path

Folder path loop provides the path through the catalog to a given folder. For example if we have an "alpha" folder standing in an "alpha_father" folder which itseflf belong to "root" folder. Folder path loop for folder "alpha" will return "root" then "alpha_father" then "alpha".
{loop type="folder-path" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
depthThe max depthexample : depth="5"
folder *A single folder id.folder="2"
visibleWhatever we consider hidden folder or not.truevisible="false"

Plus the global arguments

Outputs

VariableValue
$IDthe folder id
$LOCALEthe locale
$TITLEthe folder title
$URLthe folder URL

Plus the global outputs