I'm using tb_megamenu to create a single menu item for which I'd like to have 21 sub items in 3 columns. However the column width and break points don't get saved correctly, resulting in all items being shown in a single column. I'm using it with taxonomy_menu 7.x-1.4 and a theme based on omega. Also when trying to edit a megamenu on a page with a megamenu displayed, none of the module's options are shown.

Comments

cbrody’s picture

Status: Active » Fixed

Seems I had overlooked the jQuery Update dependency (not enforced by the module.) Working now, thanks!

RyanX’s picture

I had the same issue after reinstall modules many times, still not fixed.
@cbrody, could you pls. explain more about what you've done to fix it.

RyanX’s picture

Sorry to ask again. The issue bothers me a lot. No matter what I configre in the TB mega menu, click SAVE or RESET, the progress bar appeared at the top, but then nothing happened.

I use jQuery version both 1.7 and 1.8, Production compression level and None UI CDN.

What do you mean by "overlooked" the jQuery Update dependency? Do you use version 1.7 or 1.8?

RyanX’s picture

Status: Fixed » Needs review
wranvaud’s picture

I just had this problem too, the module does not require it's "jquery update" dependency upon installation. After installing jquery update (left it at default v1.5) it works fine.

Edit: version 1.7 is recommended according to the project page.

cbrody’s picture

@RyanX I installed jQuery update and the problem went away for me.

khadijamajid’s picture

Title: Changes not saved » Changes not saved when press save button
Assigned: Unassigned » khadijamajid
Category: bug » support

Changes not saved when press save button in megamenu toolbox of tb-megamenu. kindly help.

amyar65’s picture

Assigned: khadijamajid » Unassigned
Category: support » bug
Priority: Major » Critical

I have the same problem here. whatever I do, when I click save, I just get the progress bar forever. I tried the jquery update menitoned above, but I got nothing. I even tried adding the jquery file to the .info file, still nothing.

khadijamajid’s picture

can any one help me in it

khadijamajid’s picture

Component: Code » User interface
Assigned: Unassigned » khadijamajid

i guess there is no one to response. i am trying to solve for two weeks. kindly help if any 1 know

wranvaud’s picture

Just a small comment if I may. These problems are probably related to javascript. Check the console on firebug to see any error or warning on the page. Trying with another browser is a good practice too, in case your browser has a javascript bug. You also need to clear your Drupal CSS & Javascript cache when making changes to your site!!
I'd recommend that you try removing modules that deal with javascript becaus they might cause conflicts (and they do cause js conflicts quite often actually). It's hard to know without having your particular installation available. Another approach would be to install the module on a clean drupal 7 install and then add the modules that you want, verifying that everything works at each step.
Hope it helps those that couldn't make it work.

rschouten’s picture

I am experiencing the same problem. This issue seems to be in the jQuery dependency. My site is running jQuery 1.4.4 (Drupal Commons) and the config interface for the TB Megamenu requires a feature only available in jQuery 1.5 and up. Specifically, it is expecting a deferred object to be returned in the ajax call within the saveConfig function. Instead, an XmlHttpRequest object is returned, which lacks a "done" method.

As a workaround, in the debugger I can set a breakpoint just before the "deferred" object is meant to be returned, add a "done" noop to this object and get the config to save. Would be nice to get this fixed.

Additionally: TB Megamenu was working with this version of jQuery before. It's almost as if a race condition is exposing the bug. I can't track down any changes to jQuery or the TB_Megamenu module since it was working but did note that our site gained much more content over that time.

cbrody’s picture

Assigned: khadijamajid » Unassigned
scheban’s picture

If you click reset before making a change and then clicking save it works for me.

rschouten’s picture

Tested and this workaround does not work for me. As an aside, it does not make sense that clicking reset would upgrade jQuery to a version supporting promises.

alexander.sibert’s picture

I have the same issue with my last menu item. In the backend it shows me 6 6 columns. In the frontend it shows me 12 12 columns. Then i have a error message in my frontpage http://neofelis.de

Notice: Undefined variable: content in include() (Line 1 from /sites/all/modules/tb_megamenu/templates/tb-megamenu-block.tpl.php)

It shows me also the views block not in the frontend. Only the last item it shows me the views block.

alexander.sibert’s picture

Sorry, that was my failure. The views block had the permission to view only on administrators. In the same time the error message is away.

alexander.sibert’s picture

I changed the menu structure of the last item and it saves now the columns but how can it sort?

hai nguyen’s picture

Version: 7.x-1.0-alpha3 » 7.x-1.0-alpha4

Unsavable problem happens because I used $.ajax.done and done doesn't work in jQuery 1.4 (default of Drupal). I've just updated to use $.ajax.complete to fix this bug. Please update version 7.x-1.0-alpha4.

jiamh’s picture

when update to 7.x-1.0-alpha4+0-dev, click save and it show save completed.

But actually , nothing is saved, everything is not changed.

kylahuff’s picture

I'm getting the same issue. I have Jquery update on, have upgraded to 7.x-1.0-alpha4.
When hitting save it comes up with the progress bar - says it has saved but on refresh it hasn't (have cleared cache)

This only appears to be happening if I try and remove the submenus, everything else seems to be working smoothly.

alpersari’s picture

I have the same issue. I use 7.23 with i18n and 7.x-1.0-beta2 when I save a menu the site keep settings but breaks same menu's other language version.

alpersari’s picture

I've solved the issue. I've disabled all i18n properties and cloned the menu. The separated two menu is working well with the alpha4.

michaelngodh’s picture

Issue summary: View changes

Download the latest version. This problem is fixed with other things.

michaelngodh’s picture

Status: Needs review » Closed (fixed)
caw67’s picture

same error here. the dev- version doesnt work better than the other

caw67’s picture

changes are not saved!
and if i create a new menuentry tb mega menu adds new column! both versions!

clair.stevenson’s picture

We discovered that if you are using the Rename Admin Paths module as well, it also causes this issue to happen, because the TB Mega Menu module is looking for the traditional /admin/ path to post the changes.

Our work around was to deactivate Rename Admin Paths during the time we needed to make changes to the menu configuration. Once the changes were made and saved, we could reactivate the Rename Admin Paths module.

I hope this helps others with this issue, This was a hair-puller, for sure.

susanb’s picture

I found an issue with the Administration language module also. Turning the module off allowed me to make changes to my menu again.