Closed (duplicate)
Project:
Menu Trails
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2009 at 18:24 UTC
Updated:
28 Apr 2009 at 18:33 UTC
Ouch... I just found out that if you go to: taxonomy/term/N (or its alias),
menutrail works; the menu is highlighted and stays expanded.
However, taxonomy/term/N/all (or its alias) DOESN'T work; the
menu collapses and the menu item is not styled.
Can anyone confirm this errant behaviour?
If confirmed, is there a fix for it!!?
Thanks
Comments
Comment #1
-Anti- commentedJust to add to that, a work-around might be to point the menu item to a view in Views2
(which would be constructed to do the same thing as taxonomy/term/N/all), however
does anyone have any idea if menu-trail works when pointing to a view??
Thanks.
EDIT:
OK, I can confirm that when using Views2 and a url argument, the menutrail is preserved.
Thanks to View's 'Taxonomy: Term ID (with depth)' setting, it can do the same as /all.
Consider this a feature request: - support for drupal core taxonomy url parameters. Eg.
/all
/1+2+3
/1,2,3
Cheers.
Comment #2
nhck commentedSecond that - got this setup
"myalias/" => "taxonomy/term/1 2 3"
Now the strange outcome:
BREADCRUMB >> TERM1
Where TERM1 is linked to "taxonomy/term/1". In my opinion it should be linked to "myalias/"
Comment #3
-Anti- commented> Where TERM1 is linked to "taxonomy/term/1". In my opinion it should be linked to "myalias/"
The menutrails module is more concerned with marking the active menu items as active for
css highlighting and menu expansion. The small improvement over the core breadcrumbs is
fairly secondary I think.
There are two modules that might help you: 'menu_breadcrumb' and 'taxonomy_redirect'
However, even with these installed, after some further issues with Views and the 'realname'
module, I've just decided to just take the breadcrumb out of my theme; it causes many
more problems than it solves and its inconsistency is simply confusing to users.
Cheers.
Comment #4
tirdadc commented> There are two modules that might help you: 'menu_breadcrumb' and 'taxonomy_redirect'
Thanks for the tip, Menu Breadcrumb works great with Menu Trails and Taxonomy Menu.
Comment #5
nhck commentedIn my opinion the use of those modules doesn't fix the actual problem.
Try this:
Fruit (taxonomy/term/1)
* Apple (taxonomy/term/2)
* Pear (taxonomy/term/3)
Create A menu point "Fruit" which points to "taxonomy/term/1 2 3"
Now click on Fruit, this takes you to a page titled "Fruit, Apple, Pear" which is alright.
Now choose "Apple" from the secondary Menu.
In the Breadcrumb You will notice: "Home >> Fruit" where Fruit points to "taxonomy/term/1" while it should be pointing to "taxonomy/term/1 2 3"
Comment #6
-Anti- commented> Create A menu point "Fruit" which points to "taxonomy/term/1 2 3"
Are you really leaving spaces between the items in that list?
I haven't seen that in the docs. I've only seen: 1,2,3 or 1+2+3.
I agree with you. Drupal core breadcrumbs just don't work, and the breadcrumb modules only improve them so much, but then each module introduces their *own* flaws and incompatibilities with other modules. That's why I have had to disable breadcrumbs completely on my site(s). Which is a shame, because the menu system is rubbish too. So between the deficiencies of the crumbs and menus, Drupal is by far the easiest CMS for users to get lost in.
Comment #7
sultancillo commentedthis is a drupal bug, not menu_trails See http://drupal.org/node/372095
Comment #8
-Anti- commentedHey, well caught!
Thanks for taking this issue forward, and especially for contributing a fix.
My apologies, joshk! Looks like menutrails is innocent! I simply assumed that the drupal core menu would support drupal's own url parameters. It's actually very sad that we can't even make this small assumption. It strengthens my opinion above that the Drupal menu and breadcrumbs are pretty damn awful.
Navigation is arguably the second most important part of a site, and these two features have simply been badly implemented and ill thought-out. Which has been such a personal headache - I'm building a large site for my first drupal project, and was relying on good menu highlighting and breadcrumbs to indicate the many 'sections' of the site and to keep the users from getting lost. I'll certainly ensure that the next drupal site I build will be designed not to rely on menu highlighting or breadcrumbs *at all*.