Index: menu_block/menu_block.module =================================================================== --- menu_block/menu_block.module (revision 60) +++ menu_block/menu_block.module (working copy) @@ -266,9 +266,10 @@ // Continue in the subtree, if it exists. $next_level = $key; } - else { - // Trim anything not along the active trail. - $current_level[$key]['below'] = FALSE; + else if (!$current_level[$key]['link']['expanded']) { + // Trim anything not along the active trail and with the 'expanded' + // setting not ticked in the menu configuration + $current_level[$key]['below'] = FALSE; } } if ($next_level) { @@ -364,6 +365,7 @@ } } + return $menu_title; }