I am trying to figure out the nuance of Menu Blocks through trial and error but am primarily struck by error. Can anyone with more experience provide me a few more hints at configuring the block in order to make the attached screenshot a reality?

I just want a primary navigation link to stay active as a secondary navigation list of links gets displayed when you are within the structure of that primary nav link. I have successfully gotten secondary nav links to display on the required pages but the primary navigation loses the active status. Thank you for providing any insight you can in this effort to make me sane.

Andrew

CommentFileSizeAuthor
#2 menu setup.png22.63 KBtaoofbean
wireframe.gif18.15 KBtaoofbean
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

taoofbean’s picture

By help, I mean, very basic questions as in how I should be setting up the navigation tree in drupal and which flags I should be enable in the block menu configuration in order to get breadcrumbs working, if possible, and how to make the right navigation links be flagged as active when you are within them. Screenshots might help a lot for someone apparently as dense as I appear to be in this regard. I am a mess.

taoofbean’s picture

FileSize
22.63 KB

Attached is an example of the menu setup I used to actually get a working menu block to show up in a sidebar, partially. I got the menu to render but the active link for the primary navigation doesn't stick so that Primary Nav Link 1 is active. I am so close to actually having a useful navigation.

taoofbean’s picture

Status: Active » Closed (fixed)

Fixed: I found out, embarressingly that I didn't know I needed to look for active-trail as the styles to indicate the path to my subnavigation. I was looking for the class of active when active-trail was the correct class.

For future reference for people that are struggling similarly. This is how styles get applied.

<b>Primary Navigation Link 1</b> | <b>Primary Navigation Link 2 class="active-trail"</b> | <b>Primary Navigation Link 3</b>

Secondary Navigation Link<b>1</b>
Secondary Navigation Link<b>2 class="active-trail"</b>
 -- Tertiary Link 1 <b>class="active"</b>
Secondary Navigation Link<b>3</b>