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
  • modmore
  • Jens Wittmann – Gestaltung & Entwicklung
  • Raffy
  • eydolan
  • Digital Penguin
  • Fabian Christen
  • Dannevang Digital
  • deJaya
  • Sepia River Studios
  • Following Sea
  • Anton Tarasov
  • Lefthandmedia
  • Nick Clark
  • Chris Fickling
  • Murray Wood
  • YJ
  • CrewMark
  • Richard

Budget

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

Learn more