MODX EXTRA

BreadCrumb

Breadcrumb snippet

Creator: Benjamin Vauchel (ben_omycode)
Updated By: joshualuckers

1.4.4-pl (30 KB) Other Versions

About BreadCrumb

This snippet support most of jaredc/splittingred's BreadCrumbs features :

  • maxCrumbs
  • pathThruUnPub (now as showUnPub)
  • respectHidden (now as showHidden)
  • showCrumbsAtHome
  • showCurrentCrumb
  • showHomeCrumb

And add new features :

  • chunk as templates (properties &containerTpl, ¤tCrumbTpl, &linkCrumbTpl, &maxCrumbTpl)
  • breadcrumb for and from specific resource (property &from and &to)
  • direction (property &direction)
  • showContainer property
  • useWebLink property
  • scheme property

Some features of jaredc/splittingred's BreadCrumbs are missing but easily can be replaced by chunk / CSS customization, as :

  • crumbSeparator
  • currentAsLink
  • descField
  • homeCrumbDescription
  • homeCrumbTitle
  • maxDelimiter
  • titleField

Github : https://github.com/JoshuaLuckers/BreadCrumb

Support/Comments : https://community.modx.com/c/support/extras

Information

Released
October 1, 2019
Supported Versions
2.6 – Current
Supported Database
MySQL
Downloads
36,931
License
GPLv2
Documentation

New in BreadCrumb 1.4.4

BreadCrumb 1.4.4-pl

Added placeholder to support schema.org/BreadcrumbList thanks to John Cocula (watou)

BreadCrumb 1.4.3-pl

Fix a showHomeCrumb bug when home is unpublished or deleted

BreadCrumb 1.4.2-pl

Fix a dependency bug. getResource package is no longer needed.

BreadCrumb 1.4.1-pl

Fix currentCrumbTpl bug

BreadCrumb 1.4.0-pl

Simplify home crumb usage. Now, the &showHomeCrumb=1 property adds the home crumb at the start of breadcrumb and &showHomeCrumb=0 hides it if present.Add &exclude property to exlude one or many resources from breadcumbTpl @CODE no longer supported. Use @INLINE instead.&resourceId no longer supported. Use &to property instead

BreadCrumb 1.3.2-beta1

Add categoryCrumbTpl

BreadCrumb 1.3.1-pl

Add test to check if the function processTpl is already defined

BreadCrumb 1.3.0-pl

BreadCrumb snippet now works with property sets

Default templates chunks removed and replaced by properties

BreadCrumb 1.2.0-pl

Add &scheme property to define modx links scheme

BreadCrumb 1.1.0-pl

Add properties &from and &to to generate breadcrumb between to specific resources

BreadCrumb 1.0.0-pl

Public Launch

BreadCrumb 1.0.0-beta3

Add useWebLinkUrl property

BreadCrumb 1.0.0-beta2

Fix current resource checking when resourceId property specified

BreadCrumb 1.0.0-beta1

Initial Version

More

Current Releases

1.4.4-pl
October 1, 2019
2.6 – Current
1.4.3-pl
March 6, 2015
2.0 – 2.4
More
View Deprecated Releases

More from Benjamin Vauchel

ColorPicker

ColorPicker

ColorPicker Template Variable

CU

CustomUrls

This extra allows you to define custom alias or URI patterns for…

SO

SmartOptimizer

This extra is a MODx version of SmartOptimizer by Ali Farhadi : "…