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.
I had problems using taxonomy_menu_trails and menu_breadcrumbs in conjunction. I had to ensure that taxonomy_menu_trails always has a lower weight (runs before) menu_breadcrumbs. Just a heads up to anybody else running into the same problem.
Keep up the good work.
Comments
Comment #1
Dmitriy.trt CreditAttribution: Dmitriy.trt commentedThanks for letting us know about the problem and I'm sorry for a delay with answer. Probably we could adjust code of Taxonomy Menu Trails to work with Menu Breadcrumb in any order. Please describe the settings you used in both modules, e.g. take a screenshot of settings pages.
Comment #2
kehan CreditAttribution: kehan commentedI was just confused by this as I thought I had found a match made in heaven.
Anyway adjusting tmt's weight to be lighter than taxonomy menu worked for me, although I did have to flush my caches before this worked. Using drush vget taxonomy_menu_trails_node_page I get the following setting:
And drush vget menu_breadcrumb_menus gave me:
I am also using the integration with taxonomy_menu (as well as menu_block module).
Comment #3
Dmitriy.trt CreditAttribution: Dmitriy.trt commentedThanks, kehan! I'll investigate this problem on the next weekend (or earlier) to see if we can fix this once and for all.
Comment #4
Dmitriy.trt CreditAttribution: Dmitriy.trt commentedSorry, but I can't reproduce the problem. Could you please, describe in details:
Comment #5
Dmitriy.trt CreditAttribution: Dmitriy.trt commentedI've finally managed to reproduce the problem. Fix committed, it is not necessary to alter module weight anymore (but websites with altered module weight should keep working as expected). The fix will be released in 7.x-2.3.
Comment #6.0
(not verified) CreditAttribution: commentedGot my order wrong, meant to say, taxonomy_menu_trails needs to run before menu_breadcrumb