{pth}

    Smarty site path list plugin. Plugin outputs list of path item titles.

    Attributes:

    Attribute Name Type Required Default Description
    collection string No n/a Template variable name containing associative array of collections. Collection can be connected to menu item via item name
    id string No n/a ID attribute assigned to list <ul> tag
    class string No sf-menu Class attribute assigned to list <ul> tag
    uc integer No 0 1 - convert menu item title into upper case
    meta string No n/a Type of metadata to be assigned to attribute "title" of <li> tag. Possible values:
    • "title" - menu item title
    • "title_full" - page extended title
    • "description" - page description
    type string No all Type of path. Possible values:
    • "all" - site menu path + collection path
    • "menu" - site menu path
    • "collection" - last item in site menu path + collection path

    Sample for using:

    {pth id="sample-id" class="sample-class"}

    Above will output:

    <ul id="sample-id" class="sample-class"> <li><a href="/">Home</a></li> <li><a href="http://www.kusoftas.com/programming">Programming</a></li> <li><a href="http://www.kusoftas.com/programming/template-plugins">Template Plugins</a></li> </ul>