I really like this module and would have great use of it. The problem is that it only works for some of the menuitems but not for all. I have a normal menu with just one sublevel. On some of the items it works like a charm, on others the submeny never comes up. I have tried dhtml-menu aswell and there every sublevel works. But I would rather use this module if it was reliable. I could show it on a testsite if anyone wants to se the problem.

Comments

robertgarrigos’s picture

Can I reproduce this bug in my system? Please, let me know what menu structure I need to build up to see this bug in action.

robertgarrigos’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)
Tainer@drupal.ru’s picture

Component: Miscellaneous » Code
Assigned: Unassigned » Tainer@drupal.ru
Category: bug » feature
Status: Postponed (maintainer needs more info) » Active

Hi!
I believe, that i understood that problem.
I had developed the drupal site, and i've solved that problem by hack the menu_block_split.module.
I've replaced 1 string in function menu_block_split_is_child (selected on follow listing):

function menu_block_split_is_child($parent, $child) {
  $item = menu_get_item($parent);  
  if (is_array($item['children'])) {
    if (in_array($child, $item['children'])) {
      return TRUE;
    }
    else {
      foreach ($item['children'] as $c) {
             

if ( menu_block_split_is_child($c, $child)) return TRUE;

      }
    }
  }
 return FALSE;
}

PS Sorry, for my language. I hope that you have understand me.

robertgarrigos’s picture

Status: Active » Fixed

this has been solved and applied a fix in the 5.x-1.2 release

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.