Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The menu provided by the admin 2 module breaks when using DHTML menu. Just a note. I haven't looked into the problem much.
Comments
Comment #1
dixon_Correct link to admin 2. Sorry for that.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedI would like to note that I am having a problem with this too. Seems there are some issues with the links being expanded on load... oddly enough when it was a fresh install, it works okay... when you try to customize things it tends to screw up. Until then I am making a custom menu but a fix at some point would be nice! :3
ps: this is using the Admin module too. I'm sure it's a good idea NOT to screw with the admin menu seeing as the module depends on it and one minor change can mess the layout up entirely... so maybe it's best to just leave it alone?
Comment #3
SeanBannister CreditAttribution: SeanBannister commentedYeah a number of people have experienced this, I posted an issue to the Admin issue queue #639174: CONFIRMED: Incompatible with the DHTML Menu Module and there were a few duplicates.
Comment #4
OnkelTem CreditAttribution: OnkelTem commentedSo, how to fix this?
Comment #5
scott859 CreditAttribution: scott859 commentedsubscribing
Comment #6
OnkelTem CreditAttribution: OnkelTem commentedIts impossible to use Admin 2 and DHTML menu together. As far as I watch this issue, its pretty old.
Setting prio to critical since its a blocker bug.
Comment #7
Shane Birley CreditAttribution: Shane Birley commentedHas anyone tested this with the the development version?
Comment #8
OnkelTem CreditAttribution: OnkelTem commentedGonna do it right now...
UPD. Just checked - no, it doesn't work, dhtml menu still breaks admin 2.
Versions tested:
drupal 6.16
admin 6.x-2.0-beta3
dhtml_menu 6.x-3.x-dev
Comment #9
christianpound CreditAttribution: christianpound commentedsubscribe
Comment #10
Gr3fweN CreditAttribution: Gr3fweN commentedsubscribe
Comment #11
jeffschulerDHTML Menu includes the ability to disable itself for selected menus.
Why doesn't disabling it from the Administration Menu remove all of its effects there... and this incompatibility?
Comment #12
opdaviesSubscribing...
Comment #13
trevorwh CreditAttribution: trevorwh commented@jeffschuler
Disabling it on the admin menu does not work, I tested this.
Comment #14
jeffschulertrevorwh: Sorry I wasn't clear: I noticed the same thing. I'm wondering why that's the case, and whether there's more disabling that DHTML Menu can do. It looks like it still leaves remnants of itself in menu markup even when disabled.
Comment #15
flashfutura CreditAttribution: flashfutura commentedSame problem here... any suggest?? I must use admin and DHTML together and there is no way... The Administer block appears empty and I get this error in every page warning: Invalid argument supplied for foreach() in /home/content/m/2/6/m26568553/html/test/modules/dhtml_menu/dhtml_menu.module on line 175.
ideas???
Comment #16
scubaguy CreditAttribution: scubaguy commentedsubscribing
Comment #17
tomsm CreditAttribution: tomsm commentedI have a similar error in my logs:
Invalid argument supplied for foreach() in F:\inetpub\vhosts\fysiomed.com\httpdocs\sites\all\modules\dhtml_menu\dhtml_menu.module on line 175.
I do not use the Admin module, but I just updated the Administration menu module from 6.x-1.5 to 6.x-1.6.
The error does not appear constantly, so maybe it's a one time event? I will report back if it happens again.
A day later it happened again after an anonymous user executed a search. Also my Taxonomy menu generates errors.
These are the errors I have in my logs:
Taxonomy Menu related:
Menu and taxonomy name mismatch: != Cold Therapy
DHTML menu related:
Invalid argument supplied for foreach() in F:\inetpub\vhosts\fysiomed.com\httpdocs\sites\all\modules\dhtml_menu\dhtml_menu.module on line 175.
I removed Administration menu 6.x-1.6 and went back to 1.5. Let's see if the errors still appear.
Comment #18
Kreont CreditAttribution: Kreont commentedInteresting in issue too.
But in my situation I don't have installed admin menu :(
Periodicaly (1 or 2 in day) I receve this error "Menu and taxonomy name mismatch: !=" from guest user to start
browse index first page.
When I monitoring date+time error in apache log I see that error flash when spider (from yandex) come to site.
Can any one help to localize this error, or any othe idea (I can temporary on|off any module for test).
Comment #19
cburschkaI won't rule it out without a closer look, but I'd be extremely surprised. Clearing the site cache should get rid of every trace that DHTML Menu ever made.
Comment #20
nugen CreditAttribution: nugen commentedI'm sorry peharps the answer is obvious ...
What do you mean by subscribing?
I have the same problem here, while logged as admin. Any suggestions?
Comment #21
Cauliflower CreditAttribution: Cauliflower commentedYou can disable dhtml-menu for a specific menu, so disabling it for the admin menu solves the problem.
Comment #22
Shane Birley CreditAttribution: Shane Birley commented