Breadcrumb component written in HTL.
- Start level
- Option to show hidden navigation items
- Exclude the current page from the breadcrumb
The Breadcrumb component uses the com.adobe.cq.wcm.core.components.models.Breadcrumb
Sling model as its Use-object.
The following configuration properties are used:
./startLevel
- the level at which to start the breadcrumb: 0 = /content, 1 = /content/site, etc../showHidden
- iftrue
, show navigation items hidden via a ./hideInNav property in the breadcrumb../hideCurrent
- iftrue
, don't display the current page in the breadcrumb../disableShadowing
- for redirecting pages PageA -> PageB. Iftrue
- PageA(original page) is shown. Iffalse
or not configured - PageB(target page).
The following properties are written to JCR for this Breadcrumb component and are expected to be available as Resource
properties:
./startLevel
- the level at which to start the breadcrumb: 0 = /content, 1 = /content/site, etc../showHidden
- iftrue
, show navigation items hidden via a ./hideInNav property in the breadcrumb../hideCurrent
- iftrue
, don't display the current page in the breadcrumb../disableShadowing
- for redirecting pages PageA -> PageB. Iftrue
- PageA(original page) is shown. Iffalse
or not configured - PageB(target page)../id
- defines the component HTML ID attribute.
The component provides a core.wcm.components.breadcrumb.v2
client library category that contains a recommended base
CSS styling. It should be added to a relevant site client library using the embed
property.
BLOCK cmp-breadcrumb
ELEMENT cmp-breadcrumb__list
ELEMENT cmp-breadcrumb__item
MOD cmp-breadcrumb__item--active
ELEMENT cmp-breadcrumb__item-link
- Vendor: Adobe
- Version: v2
- Compatibility: AEM 6.3
- Status: production-ready
- Documentation: https://www.adobe.com/go/aem_cmp_breadcrumb_v2
- Component Library: https://www.adobe.com/go/aem_cmp_library_breadcrumb