Need block to display when visiting the page that has it's menu item disabled. The menu item has a parent.

Primary Links
- Menu Item
-- Sub Menu Item 1
-- Sub Menu Item 2 (Disabled)

When visiting --Sub Menu Item 2 (Disabled), the block is not shown and there is no left navigation.

We need to maintain left navigation in this case. Only when a page does not have a parent should it not show the Local Menu.

Comments

crutch’s picture

Assigned: Unassigned » crutch

remove AND hidden <> 1 at around line 83

from this

    // Get the menu link and set the active menu to the menu it's in, so Drupal can find it's way and make correct breadcrumbs at the same time
    $result = db_query("SELECT mlid FROM {menu_links} WHERE link_path = '%s' AND hidden <> 1 AND menu_name NOT IN ('admin_menu', 'devel')", $item['href']); 

to this

    // Get the menu link and set the active menu to the menu it's in, so Drupal can find it's way and make correct breadcrumbs at the same time
    $result = db_query("SELECT mlid FROM {menu_links} WHERE link_path = '%s' AND menu_name NOT IN ('admin_menu', 'devel')", $item['href']); 
crutch’s picture

Status: Active » Needs review
avpaderno’s picture

Assigned: crutch » Unassigned
Issue summary: View changes
Status: Needs review » Closed (outdated)

I am closing this issue, as Drupal 6 is now not supported.