I use print theme('nice_menus_main_menu')
in one of my theme template files to display my site Main Menu because I want to wrap <nav>
tags around it. (I'm using an Omega 3.x sub-theme.)
I've updated to 7.x-2.4 and my menu has completely broken now.
However, if I add a Nice Menus block to my site and display the same menu within a block, both menus appear almost correctly (minor issues like Font family missing from the Block version).
A quick comparison of the source code for each reveals that the <ul>
tag is missing the "nice-menus-processed sf-js-enabled" classes when it's just themed without the block on the page, also the CSS file "nice_menus.css" as well as my CSS file set in my theme settings (called "mainmenu.css" on my site - based off of "nice_menus_default.css") are missing.
Comment | File | Size | Author |
---|---|---|---|
#1 | nice_menus-broke_Main_Menu-2038879.patch | 977 bytes | xiukun.zhou |
Comments
Comment #1
xiukun.zhou CreditAttribution: xiukun.zhou commentedhi @SkidNCrashwell,
thanks for posting the bug. can you help me tested the patch? Thank you very much
Comment #2
JGonzalez CreditAttribution: JGonzalez commentedCan confirm that this patch fixes nice menus to act like it did before 2.4 update.
Comment #3
DrupalGideonI would like to confirm that this is now working for me as well.
Comment #4
thomas73 CreditAttribution: thomas73 commentedIt has helped for me too. Thanks.
Comment #5
xiukun.zhou CreditAttribution: xiukun.zhou commentedThanks thomas73, SkidNCrashwell, JGonzalez for tested the patch.
commit: ee9d3ad