For a certain node type, I would like to keep a particular menu open/changing the active menu item. I would like to do this without actually putting these nodes types into the menu. How do you go about doing this?
I was trying to use menu_set_active_item, which works well, however, it CHANGES the NID/arg(1) for the page and causes some undesirable things to happen:
- the edit button no longer works
- views that have the nid as an argument do not work correctly.
We're doing this for news items, something that we'll have a lot of and for a few reasons, I don't want to add these items directly to the menu tree.
Is there a better way to go about this? or a way to set the menu-trail, but not change the page nid?
Let me know if you need more info.
Thanks for the help.