0

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

enter image description here

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 :

enter image description here

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

0

I think you want Menu Breadcrumb instead of Easy Breadcrumb. This way, your breadcrumb trail is based on a menu, not the URL path. Then, use it in conjunction with Taxonomy Menu.

1
  • I don't think so, because nodes don't belong to a menu, they belong to the taxonomy.
    – mathieu
    Oct 27 at 17:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.