Active-trail is added to wrong menu item
matek - September 3, 2009 - 14:43
| Project: | Menu Trails |
| Version: | 6.x-1.0 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello,
On my site I have nodes categorised by multiple terms from multiple vacabularies. Problem is that "active-trail" id added to the first matching menu item based on menu items weight, while - I think - it should be added to item based on vocabularies and terms weight. My paths (by Pathauto) and breadcrumbs (by CustomBreadcrumbs) are created this way and now item highlighted in menu by MT doesn`t match. Is ordering menu the same as vocabularies the only way of matching trails with paths and breadcrumbs, or am I missing something?
I have custom menu used as Primary, Zen subtheme and tried also the latest dev version of MT module with same effect.
Any advice/help is much appreciated :)

#1
Well, in MT settings page I see categories are in proper order so problem - in my case -
is that module just ignores this order and adds trail to the lightest menu item that match one of the node terms....Actually, after some more testing it`s not about menu item weights - it was just a coincidence.Looks weird but now I think It`s taking vocabularies exactly the opposite way it should; from heaviest to lightest... Custom Breadcrumbs seem to have the same problem as MT (crumbs match trails from MT) - only Pathauto makes proper paths (from lightest vocab).