Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This module allows to render breadcrumbs according to a hierarchy of nodes defined via node reference fields.
Dependencies:
Example of usage:
- Create content types with some kind of parent-child relationship, e.g. Category and Product
- On the Page create a node reference field for the selection of parent Categories
- Create a new menu position rule and select the parent reference field in the Node Hierarchy tab
Now, if you e.g. have the following hierarchy...
- Category 1
- Product 1
- Product 2
- Category 2
- Product 3
... then your breadcrumbs will look like this for Product 2: [Frontpage] > [Category 1] > [Product 2]
- instead of just [Frontpage] > [Product 2]
.
Notes:
- The hierarchy can be up to 7 levels deep, i.e. you can have multiple node reference fields on different content types, and the tree will walk through them upwards from the current page.
- If any node in the tree has a menu item, then the remaining hierarchy links will be nested underneith, and respective menu items will be marked as "active".
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Obsolete
Use of this project is deprecated. - Created by bforchhammer on , updated