{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:
|
type | string | No | all |
Type of path. Possible values:
|
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>