On a custom menu, when creating a node and putting it in a sub-menu (e.g. My-menu->Node1->Node2) accessing Node2 does not set Node1 as part of the active-trail, nor does it expand the menu.

Steps to reproduce:

  1. Install D7b1 - standard install
  2. Create custom menu
  3. Add block to 'content' section to display custom menu
  4. Create node, Set menu parent to custom menu
  5. Create node, Set menu parent to first node
  6. Go to second node

Expected behaviour: First node should have 'active-trail' and 'expanded' class set. Sub-menu should be displayed.
Actual behaviour: First node does not have these classes set and has class 'collapsed' set. Sub-menu is not displayed.

NB: Note that this works as expected when using the built-in 'Main menu'. Also breadcrumb information for nodes is incorrect (Home>Node2 rather than Home>Node1>Node2)

Comments

garphy’s picture

Version: 7.0-beta1 » 7.0

Having the same exact issue here on final release.

devin carlson’s picture

Status: Active » Closed (duplicate)

Closing this and marking it as a duplicate of #942782: Custom menus never receive an active trail.