Secondary Menu Block doesn't show for Page Views / Calendar / Blog

oddible - July 6, 2009 - 20:25
Project:Menu block
Version:6.x-2.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm using 2 Menu Blocks to show the first two levels of my Primary Menu. The 1st level has a link to 'Community' which has sublinks for 'Calendar' 'Blogs' 'About Us'. Since the 'About Us' is just a page node view the Menu Block shows fine, I have 2 rows of menus, one which shows the first level and one which shows the second level. However, when the user clicks 'Blogs' in the second menu which links to www.mysite.com/blog the second menu block disappears and it only shows the first level block. Same goes for Calendar and any Clean URL Page Views (for instance I have a Page View for Coaches which shows all Personnel content type of taxonomy Coach).

How can I get this second level menu block to show when I click a direct item on that menu which doesn't use 'node/#' anything that isn't in the node/ path doesn't seem to show.

#1

oddible - July 7, 2009 - 17:22

I noticed that if I create menu items to pages via the Views module that the 2nd level menu stays active but when I manually create a menu item that points to the exact same page the 2nd level menu disappears.

How can I put a link to Blogs and Forums on a second level menu and have the 2nd level menu stay active?

#2

oddible - July 7, 2009 - 18:55
Category:support request» bug report

#3

hoyer - July 14, 2009 - 12:37

I've got the same problem, don't know how to fix it.

subscribing

#4

mongolito404 - September 2, 2009 - 08:38

I've the same issue with a view page with argument.

At first look it seems to happen because when menu_block prune the menu, the entry for the page is not marked has being in the active trail. Following comment #4 in #235352: Primary links menu not following view page. I've found that adding a disabled menu entry to the view page without argument does solve the issue for me.

#5

h l - September 23, 2009 - 13:53

I've got the same problem with showing image gallery without "node/".

#6

mongolito404 - September 29, 2009 - 07:40

I added an argument element in the view path ("path/to/view/%" instead of "path/to/view") and it solves the issue for me.

#7

acolyte26 - October 23, 2009 - 06:01

Wow seems to work now..thanks..

 
 

Drupal is a registered trademark of Dries Buytaert.