Jump to main content Jump to doc navigation

This is the chunk displayed with the ¤tCrumbTpl property on the BreadCrumb snippet. Used for the current crumb.

Default Value

Since BreadCrumb 1.3.0, currentCrumbTpl is no longer a chunk but a snippet property. Templates properties can be chunk name, file path (@FILE:) or chunk code (@CODE:)

<li>[[+pagetitle]]</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.

Examples

By default the current crumb isn't a link but it's very easy to change that. Replace the chunk by :

<li><a href="[[+link]]">[[+pagetitle]]</a></li>

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

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • eydolan
  • Lefthandmedia
  • Murray Wood
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$306 per month—let's make that $500!

Learn more