Breadcrumbv2

Breadcrumb allows navigation of the page hierarchy relative to the current page. It is commonly added to a page template, in the header or footer.

Using Core Components

Adobe Help Center

Examples

Standard

Simple breadcrumb with no configuration applied. Shows the current page in relation to the page hierarchy.

  1. jcr:primaryType: nt:unstructured
  2. jcr:createdBy: admin
  3. startLevel: 2
  4. jcr:lastModifiedBy: admin
  5. jcr:created:
  6. showHidden: false
  7. jcr:lastModified:
  8. hideCurrent: false
  9. sling:resourceType: core/wcm/components/breadcrumb/v2/breadcrumb

Navigation Start Level

The Navigation Start Level is set to two by default, which is typically the site root. In this example, we increase it to three to display a breadcrumb for a section one level lower.

  1. jcr:primaryType: nt:unstructured
  2. jcr:createdBy: admin
  3. startLevel: 3
  4. jcr:lastModifiedBy: admin
  5. jcr:created:
  6. showHidden: false
  7. jcr:lastModified:
  8. hideCurrent: false
  9. sling:resourceType: core/wcm/components/breadcrumb/v2/breadcrumb

Show Hidden Navigation Items

By default, pages that are marked as Hide in Navigation are not displayed in the breadcrumb. It is possible to configure a breadcrumb so that they are shown.

  1. jcr:primaryType: nt:unstructured
  2. jcr:createdBy: admin
  3. startLevel: 2
  4. jcr:lastModifiedBy: admin
  5. jcr:created:
  6. showHidden: true
  7. jcr:lastModified:
  8. hideCurrent: false
  9. sling:resourceType: core/wcm/components/breadcrumb/v2/breadcrumb

Hide Current Page

By default, the current page is shown in the navigation. It is possible to configure a breadcrumb so that it is hidden.

  1. jcr:primaryType: nt:unstructured
  2. jcr:createdBy: admin
  3. startLevel: 2
  4. jcr:lastModifiedBy: admin
  5. jcr:created:
  6. showHidden: false
  7. jcr:lastModified:
  8. hideCurrent: true
  9. sling:resourceType: core/wcm/components/breadcrumb/v2/breadcrumb