The Primary Links active trail gets lost when a nested menu item links to a view + one argument. When the same menu item is linked to the view path without the argument, the active trail is preserved. Also, if I manually append the argument to the url and load the view, the active trail is still maintained.

This is very similar to this older issue: http://drupal.org/node/235352, which was closed after more or less resolving itself, but I'm using Views 6.x.2.3 on Drupal 6.10. I originally posted this message at the end of that thread - oops.

Example: The active trail is lost when clicking Control Panels in the following menu configuration, where "content/products/id" is the view path:

Fire Systems
-- Control Panels <-- linked to "content/products/id/8"
-- Detection

The active trail preserved for Control Panels with this configuration:

Fire Systems
-- Control Panels <-- linked to "content/products/id"
-- Detection

Manually appending the "/8" and loading the page above preserves the active trail.

I've disabled the only modules (Menu Trails, Menu Block) that I can imagine affecting this and it makes no difference. Any suggestions would be most welcome.

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)

This is probably a core issue, as Views does nothing in particular that should affect the active trail. I recommend filing this issue against Drupal itself. I've seen one or two others like this, and it's well known that Drupal has issues with active trails but people have had a lot of trouble determining how to fix it.

thekenshow’s picture

OK, thanks - I'll take this over there.

mokargas’s picture

Thekenshow, did you ever solve this? I'm currently seeing the same behavior