Closed (fixed)
Project:
Menu Icons
Version:
6.x-2.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2009 at 14:44 UTC
Updated:
1 Mar 2010 at 15:50 UTC
I also installed DHTML Menu (http://drupal.org/project/dhtml_menu) in my site.
But it show too many error that can not being coupe with this module.
Can somebody repair this error?
Comments
Comment #1
klonosI see no errors, but the DHTML menu's effects stop working when I enable the Menu Icons module. Disabling Menu Icons re-estates the menu slide effect.
Comment #2
lort commentedI got an error.
warning: Invalid argument supplied for foreach() in /path/to/www/sites/all/modules/dhtml_menu/dhtml_menu.module on line 175.
modules:
taxonomy_menu ( I dnt think that this module is involved in anything else than creating the menu and keeping it synchronized with my taxonomy vocab.)
dhtml_menu
menu_icons
err. produce action:
added an image to the menu being generated by taxonomy_menus.
dhtml_menu settings make no difference.
dhtml_menu.module code where err indicates:
175 foreach ($index[$item['mlid']]['parents'] as $mlid) {
176 $key = $index[$mlid]['key'];
177 if (!isset($tree[$key])) {
178 return array();
179 }
180 $tree = $tree[$key]['below'];
181 }
it has something to do with the $index array. when image is added the array's content seem to disappear. i've only taken a really quick look so i may be wrong. u can check it out with drupalforfirebug. hope these help.
Comment #3
hefox commentedThe current .module in cvs seems to fix this; it removes the registry alter which is conflicting with dhtml_menu. Not sure why it isn't in the stable sine it was added before the last stable.
Comment #4
skilip commentedThe hook implementation of hook_theme_registry_alter is removed form release 6.x-2.1.