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.
Currently I have 3 different content types: Program, Chapter, Item. A program contains multiple chapters and a chapter contains multiple items. These are related to one another using node reference field types.
On the item page I would like to have a breadcrumb listing:
Program --> Chapter that is related to that specific item node.
Is that possible?
Comments
Comment #1
danshaw CreditAttribution: danshaw commentedUpdate: I figured out how to make it work, but to do that I have to add 2 new reference fields to the "Items" content type. Then I have to reference the chapter and the program that the items are using. Once I do that then I can create a custom node breadcrumb that references those two sections.
Problem is that I have about 100 items and this will take a long time. So I am really hoping that it is possible somehow to reference a parent content type.
Would love any help!