containerTpl
Last updated Apr 29th, 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 containerTpl¶
This is the chunk displayed with the &containerTpl property on the BreadCrumb snippet. Contains the list of crumbs.
Default Value¶
Since BreadCrumb 1.3.0, containerTpl is no longer a chunk but a snippet property. Templates properties can be chunk name, file path (@FILE:) or chunk code (@CODE:)
@CODE:
<ul id="breadcrumb" itemprop="breadcrumb">
<li><a href="[[++site_url]]">[[++site_name]]</a></li>
[[+crumbs]]
</ul>
Available Placeholders¶
Name | Description |
---|---|
crumbs | The list of crumbs |
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