Active
Project:
Menu Trails
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Jun 2009 at 00:00 UTC
Updated:
25 Jan 2010 at 16:30 UTC
How hard would it be to add menu trails for user pages so they could go under a "people" tab, but if you are looking at your own user page, it would go under "My account". Right now, all of our user pages are showing up under "my account", which is a primary menu item we have. I assume this is because /user/[uid] seems like a child of /user to drupal by default?
Comments
Comment #1
frankcarey commenteddoes this make sense?
Comment #2
alexgreyhead commentedSeconded - it would be a great help to be able to show the link to /user as "active" when the current page path is /user/[uid]/foo/bar etc :o)
Comment #3
oskarblue commentedSubscribe :)
Comment #4
fuerst commentedJust a hint, don't have time to look further at that time: May be this can be done by implementing hook_user() in menutrails.module like this:
Comment #5
jgreep commentedI've got the following to work for the user view and for the user edit.
For the tracker module, I added the following line to tracker.pages.inc at the top of the tracker_page function: