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.
Version 7.x-2.1 worked correctly, however after updating to 7.x-2.7 I'm experiencing an issue.
I have the structure:
site.com/products/chairs/chair1
When I got to: site.com/products/chairs/ I see Home/Products/Chairs
However, if I got to site.com/products/chairs/chair-1 I see Home/Products/Products/Chair1 notice how "Products" is duplicated, however the link is correct, it's just the segment title.
Regards
Comments
Comment #1
gamesfrager CreditAttribution: gamesfrager commentedI reduced it to normal instead of major due to disabling those two option made it work for my needs:
- Use the real page's title when available
- Make the page's title segment a link
Once those disabled, bread crumbs were working correctly. I hope this would indicate the problematic part.
Regards
Comment #2
clemens.tolboom@gamesfrager: Thanks for reporting. It helped me to solve my "Home » Forum » Forum » topic 1" repeat. I disabled the setting to get the forum name back.
The code in easy_breadcrumb.blocks.inc
should call the title callback function if available.
This is what 'forum/%' menu item has in $item:
title (String, 5 characters ) Forum
title_callback (String, 1 characters ) t | (Callback) t();
title_arguments (String, 0 characters )
@gamesfrager: what is your Product? I guess a vocabulary 'Products' with a Chair as a term?
Comment #3
gamesfrager CreditAttribution: gamesfrager commentedThat's correct, my products categories are taxonomy terms.
Comment #4
sonemonu CreditAttribution: sonemonu commentedCorrected in 7.x-2.9.
Thanks for your feedbacks!