How to create a breadcrumb trail with the taxonomy terms used by the node ?

Created on 27 October 2021, about 3 years ago
Updated 14 August 2024, 4 months ago

My website works with Drupal 9, I created a taxonomy for my nodes :

https://i.stack.imgur.com/k9wIy.png

I installed the following module :

https://www.drupal.org/project/easy_breadcrumb

Here is what I am trying to do. If my "node" has the terms "Crypto" and "ICO", the breadcrumb should display :

Accueil >> Crypto >> ICO >> Node Title

Home >> Term >> Sub-term >> Node Title

My nodes will only have a single term or, a term and a sub-term.

The URL of the nodes is :

domaine.com/node-title

The breadcrumb must not use the URL.

Currently it does not work :

https://i.stack.imgur.com/uUx1H.png

One last thing, I also installed the module :

https://www.drupal.org/project/taxonomy_menu

The structure of the taxonomy is therefore exactly the same as that of the main menu, but the nodes are not attached to the menus. They are attached to the terms of taxonomy.

Does anyone have a solution ? Thank you

💬 Support request
Status

Closed: outdated

Version

2.0

Component

Documentation

Created by

🇫🇷France zenimagine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024