Closed (duplicate)
Project:
Nice Menus
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2010 at 23:20 UTC
Updated:
18 Feb 2012 at 05:44 UTC
Using Ajax (for example on the exposed filters of a View) causes my nice_menu background to change color. I've attached the Before (normal color) and After (after ajax is used on the page) of how the menu looks.
Any help is greatly appreciated.
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| after.jpg | 29.01 KB | zdean | |
| before.jpg | 34.93 KB | zdean |
Comments
Comment #1
zdean commentedCould someone please advise if this sounds like it's a Nice Menus issue or if it might be related to something else.
Thanks.
Comment #2
zdean commentedUPDATE
I was using Ajax Load module. When I disabled that module, the problem with nice menus goes away. I've submitted this issue at #707668: ajax_load breaks Nice_menus as well. So, I'm still not sure if the bug is in nicemenus or in ajax_load.
Any further help is still appreciated!
Comment #3
add1sun commentedBased on the info in the other thread, I don't think this is a Nice Menus bug, but a CSS/theme issue. Closing.
Comment #4
fearlsgroove commentedThis is actually still an issue i think. Basically because nice menus loads it's stuff in hook_init, it adds it's css/js even to ajax requests. However those requests don't go through the theme layer. In my case I had overridden nice_menus_default.css in my theme. Ajax stuff was all running in a custom module, and when it ran, nice_menus added it's stuff, but the theme overrides were never called, so the nicely themed menu was swapped out with many elements of the default gray menu.
Hope that makes sense. I'll try to produce a reduced test case at some point, but the issue is loading css/js in hook_init. Not sure if there's any workaround for that given nice menu's use case tho ...
Comment #5
vordude commentedSending this over here: Since I think that describes the issue in a better way.
http://drupal.org/node/1363316