tpl
Last updated Jan 27th, 2020 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$311 per month—let's make that $500!
Learn moretagLister's tpl Chunk¶
This is the Chunk displayed with the &tpl property on the tagLister snippet.
Default Value¶
<li class="[[+cls]]">
<a href="[[~[[+target]]? &[[+tagVar]]=`[[+tag]]`]]">[[+tag]]</a> ([[+count]])
</li>
Available Placeholders¶
Name | Description |
---|---|
tag | The current tag. |
tagVar | The REQUEST var specifying the tag. |
target | The target Resource ID to link to. |
count | The number of Resources with this tag. |
cls | The CSS class to put on the LI tag. |