categoryCrumbTpl
Last updated Oct 8th, 2019 | 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
$306 per month—let's make that $500!
Learn moreBreadCrumb's categoryCrumbTpl Chunk¶
This is the chunk displayed with the &categoryCrumbTpl property on the BreadCrumb snippet. Used for the crumb (except the current one) whose resources are "Category".
A resource is a "Category" if it's a folder and if it doesn't have template or have a link attribute equals to rel="category" .
Default Value¶
Templates properties can be chunk name, file path (@FILE ) or chunk code (@INLINE )
<li><a href="[[+link]]">[[+pagetitle]]</a></li>
Available Placeholders¶
Name | Description |
---|---|
link | A link to the resource of the crumb. |
position | The order of the item (to support BreadcrumbList. |
useWebLinkUrl | If you use the &useWebLinkUrl=1 property, the link will be the resource linked and |
id pagetitle longtitle description menutitle ... | All properties of the resource are output to their appropriate placeholders. |
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
$306 per month—let's make that $500!
Learn more