Megamenu module and jquery update

Neo's picture
Neo
Thu, 03/14/2013 - 07:04
#1
Megamenu module and jquery update

Please note this module is not working with jQuery 1.9. Because this jQuery version change many functions in core.

If you're using jQuery 1.7, 1.8 (jquery_update module) please update jquery ui to 1.8.23 (replace files in jquery_update/ui/ui) to make module admin works.

You can download jquery ui 1.8.23 here or here.

This video show you how to update jQuery ui to 1.8.23:

 

Best Regards,

Neo Khuat

stanford's picture
stanford
Mon, 04/01/2013 - 15:32

Hi, Neo.

Can you please explain how to do this?

Thank you.

Neo's picture
Neo
Mon, 04/01/2013 - 22:52

I updated the post, please watch the video

stanford's picture
stanford
Tue, 04/02/2013 - 12:17

You rock, Neo! Thank you!!

ngermain's picture
ngermain
Mon, 04/22/2013 - 12:09

There are many new modules and libraries that require modern jQuery and it's a pain to switch back and forth just to make MegaMenu UI work. Is MegaMenu going to be updated soon to use the latest jQuery and jQueryUI?

 

Thanks!

Neo's picture
Neo
Tue, 04/23/2013 - 22:35

yes, we're working on it. This takes time, so please wait.

stanford's picture
stanford
Wed, 06/12/2013 - 05:21

Im sorry, but I apparently spoke too soon. I just got to try the instructions above, and Mega Menu still won't work. I tried twice, being sure to follow the exact steps.

I have disabled JQuery Update for now, and the site is working again.

So, what do I do? I really need 1.8 for Nivo Slider only. I've noticed that Drupal really hates anything with JQuery updates though.

Also, I belive that there's a mistake in the written text. I believe the files to be replaced are in sites/all/modules/jquery_update/ui/replace/ui. The replace directory is missing in that text.

Thank you.

hockey2112's picture
hockey2112
Tue, 07/09/2013 - 20:34

The Mega Menu module is not working on my D6 website in the admin back-end (I cannot drag and drop). I have jQuery UI 1.7.3 and jQuery Update 1.3.2. Do I need to update those to make it work? If so, how?

hockey2112's picture
hockey2112
Mon, 07/15/2013 - 13:27

It has been a week now with no reply. I understand that this is an inexpensive module, but it is a paid module nonetheless, and I'd expect a quicker reply for a legitimate customer support issue such as this! Please reply!

CreativeLinks's picture
CreativeLinks
Fri, 02/28/2014 - 15:27

This DOES NOT work. Mega Menu only works under Jquery 1.5, I have followed the video exactly. I downloaded Jquery UI 8 from the link, replaced the folder, set my jquery update version to 1.7, turned off CDN to use local, cleared cache, and Mega Menu does NOT work.

I have to set it back to 1.5 to make changes.

Very frustrating.

cindy's picture
cindy
Mon, 03/03/2014 - 04:26

Hi,
Because some errors arising when CSS UI is updated, we will fix this soon.
Please add
.ui-front {
z-index: 99999 !important;
}
into the bottom of the file "md_megamenu\css\mega_menu.css"
Regards,

hmartens's picture
hmartens
Mon, 05/26/2014 - 00:40

I just bought this menu and couldn't edit menu items. Running jquery1.7.

Just by adding this in the CSS my mega menu is working now...it seems.

CreativeLinks's picture
CreativeLinks
Mon, 03/03/2014 - 10:13

I have updated UI to 8.23, added

.ui-front {
z-index: 99999 !important;
}

To the CSS file.

And it still DOES NOT WORK. The menu works fine, but when I go to edit it, I can't. There are no pop-up windows, everything appears on one page.

So I will ask again for the second time, HOW DO IT GET MM MEGA MENU TO WORK WITH Jquery Update 1.7?????

CreativeLinks's picture
CreativeLinks
Mon, 03/03/2014 - 10:25

Ok, so the problem seems to be that this doesn't work if you follow the instructions above an have the OVERLAY module turned on for the admin theme. It causes a conflict.

Overlay on - conflict, doesn't work
Overlay off -- no conflict, it works.

However, since I need the overlay to work -- I need a better solution.

cindy's picture
cindy
Tue, 03/04/2014 - 21:33

Hi,
Thank you very much for your comment.
We are working on your issue and then feedback you soon
Regards

Patribus's picture
Patribus
Mon, 05/19/2014 - 16:12

HEllo, I'm also having problems. Drag&drop actions do not work, when adding new item, a window opens, but behind a grey layer, which blocks everything, so no more action is possible.

I need this quick, I hope you can find a solution.

Cheers

PS: I repeated the whole process, it is now working. ;-)

balistaguy's picture
balistaguy
Fri, 08/08/2014 - 22:10

I just bought the product and have followed the video and suggestions in this thread and i have no resolution, prior to following this i was able to do most things besides the "add" option and now, it's all broken now with the implementation of the suggested 1.8 fix.

balistaguy's picture
balistaguy
Fri, 08/08/2014 - 22:45

Alright, i updated the jquery_update and it provides the /ui/ui/ folder funny enough.

Patched it, options are all back however i am back to square one, where i can do everything but hit the "Add" button. I need help or i will have to get a refund.

cindy's picture
cindy
Fri, 08/08/2014 - 23:25

Hi,
Please send us your site as well as log-in account to [email protected]

nickread1's picture
nickread1
Thu, 10/02/2014 - 10:22

Can I offer a tip to anyone having trouble with jQuery Update. If you download the 7.x-2.x-dev of the jQuery Update module, it allows you to specify a different version of jQuery for the admin section, while maintaining the version you need for the front end. I've enabled 1.5 for admin and this module is working fine.

glafaso's picture
glafaso
Fri, 01/16/2015 - 07:49

I hope I am posting in the correct place here. I had the same issue with the ADD button on the [add new item] form not doing anything. I fixed it by changing jquery update to use 1.5 like Nickread1 did. Now I have updated my machine to run php 5.5.9 with Apache 2.4.7 and this fix no longer works. I just get nothing when I press the ADD button on that form. Do you have any suggestions? Thanks

glafaso's picture
glafaso
Fri, 01/16/2015 - 09:09

Update to Post #21. I am having the same problem with PHP 5.3.29 on my hosted test site. I don't remember what version of php I was running on my old test site because my Virtual machine crashed and I had to rebuild it from scratch, but it was working there. Could this be a php issue, or maybe I forgot about something else that I had changed etc. (I can't think of anything else that is different).

cindy's picture
cindy
Wed, 01/21/2015 - 05:23

Hi Glafaso. This is js error, not php or apache, just turn on firebug and check whether there is any js errors or not

glafaso's picture
glafaso
Wed, 01/21/2015 - 07:44

I solved the problem the same day I posted. I am using a different (free) megamenu now. This one caused too many problems.

hockey2112's picture
hockey2112
Wed, 01/21/2015 - 10:30

glafaso, can you share a link to the other megamenu that you are now using?

andor.koza's picture
andor.koza
Wed, 02/04/2015 - 16:59

please help,

Updated MD Megamenu for the latest version, also latest jquerry update.
The problem is when i try to add new item >> try to click to "Add" button and nothing happens (not save and not close the dialog box, literally nothing happen)
whe I edit an existing one, everything is ok.
I tried all version of jquery (1.5 to 1.10) with no succes. Also tried to turn off Performance / JS aggregation 

If I try to debug with firebug, there are some errors (may be it helps):

when click on "Add new item" hte error is: Uncaught Error: no such method 'select' for tabs widget instance
when click on "Add" button the error is: Uncaught Error: no such method 'add' for tabs widget instance

any suggestion? version problems? or conflicts with other modules (before update everything was fine)

cindy's picture
cindy
Fri, 10/23/2015 - 06:31

Hi Pacusi

We send you an update 

Please check your email

You can create a new thread or comment because "reply" function is somtimes missed

cindy's picture
cindy
Thu, 02/05/2015 - 02:47

Hi Andor.Koza

Please send us your site's url and admin account to [email protected] so that we can log in to check this problem

support2's picture
support2
Tue, 02/17/2015 - 13:18

In the jQuery_Update module set the Alternate Version for Admin Pages to Default provided by Drupal, this solved the problem

ckuzelka's picture
ckuzelka
Fri, 03/13/2015 - 15:06

Same problem as everyone else.  Module looks great, but cant use it!  I did the update as posted in the video.  Also added the css trick.  Tried Admin jQuery to 1.5...  all the same result, unable to use the menu system.  Add button does nothing.  I can not add anything to the new menu I just created.  Please advise.  Will be sending credentials to email posted in other posts to help expidite a resolution.  

cindy's picture
cindy
Sat, 03/14/2015 - 03:41

Hi Ckuzela,

We received your email aleady 

Please check your email, we need more information

dlhost89's picture
dlhost89
Mon, 04/27/2015 - 03:26

This is extremely frustrating.  I just downloaded the 7.x.1-17 update from 4-15, and it appears that it's version 7.x.1-15.  As it appears as though I had downloaded version 7.x.1-17 in March, so I uploaded that version.  Regardless of which version I use, however, the "Edit" tab shows nothing.  The error is displayed as "Error in event handler for (unknown): TypeError: Cannot read property 'insertRule' of undefined."  I have retraced the steps set forth above, to no avail, and have tried every version of JQuery on the admin side.  With all due respect, I simply cannot understand why a paid module has so many chronic issues.  I simply don't have the time for it.

cindy's picture
cindy
Mon, 04/27/2015 - 06:08

Hi,

Please check your email

We sen you the latest version

jrochate's picture
jrochate
Tue, 05/05/2015 - 11:33

After MD megamenu fresh install, I can't use the Add button on Add new menu item dialog box.

I can see a javascript error on Error Console:

jQuery 1.9.1 from jQuery Update module

Error: Error: no such method 'add' for tabs widget instance
Source File: http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
Line: 3

Only works with jQuery 1.5, just like stated on the first post, more than 2 years ago. Come on...

cindy's picture
cindy
Thu, 05/07/2015 - 22:42

Hi,

Please send us your site url and admin account, FTP account to [email protected] (also this forum link)

We want to look at the issue 

jhize's picture
jhize
Mon, 05/18/2015 - 00:01

Thank you!

KeystoneRick's picture
KeystoneRick
Mon, 06/08/2015 - 07:57

Hi Cindy,

Last week I bought the MDMegamenu module, however I have the same issue here, I can't use the "add" button on add new menu item ......... and after saving I receive the folowing warning:

Warning: Invalid argument supplied for foreach() in md_megamenu_edit_links_form_submit() (regel 1237 van /www/htdocs/my sitename/sites/all/modules/md_megamenu/includes/md_megamenu.admin.inc).

Can you help me out?

phuonght's picture
phuonght
Tue, 06/09/2015 - 22:50

KeystoneRick,

Could you send us you site url, admin and FTP accounts (forum link as well) via this email: [email protected]?

We would like to check and fix it for you.

uafsmarketing's picture
uafsmarketing
Thu, 06/18/2015 - 17:32

The JQuery Module was updated by Drupal and the MegaMenu has stopped working do we have to go back in and edit the files in the new update also? I did the 1.8.23 ui copy and that didnt work. I have JQuery 7.3 alpha and I had to reset JQuery to 1.5 so it would work.

phuonght's picture
phuonght
Fri, 06/19/2015 - 23:22

Hi Uafsmarketing,

Could you send us your site url, admin and FTP accounts (forum link as well) via email: [email protected]?

We need to have a check.

bkwyrm's picture
bkwyrm
Thu, 07/16/2015 - 13:04

Having a similar problem. Was able to resolve - tho only temporarily - by making the admin jQuery 1.5, but this is not a great resolution. If there is a patch for this, I would love to get my hands on it.

phuonght's picture
phuonght
Thu, 07/16/2015 - 22:30

Hi Bkwyrm,

We just sent an updated file of mega menu to your email. Please check if it works.

droddis's picture
droddis
Fri, 07/17/2015 - 12:20

Hi there, Can I also get the latest version please? I'm not sure what updates broke it but I'm unable to edit any individual elements in a production site. Here is an exmaple of what the edit screen looks like. Any attempt to edit individual elements does nothing.

Image title

droddis's picture
droddis
Sun, 07/19/2015 - 08:04

Hi there, any word on new version pleasE?

phuonght's picture
phuonght
Sun, 07/19/2015 - 22:44

Droddis,

We just sent an updated file to your emial. Please check if it works.

saif's picture
saif
Thu, 08/13/2015 - 08:20

Hi there, can you please send me the updated version of the module?

Thanks.

phuonght's picture
phuonght
Thu, 08/13/2015 - 22:14

Hi Saif,

Could you wait for a few days? We are going to release a new version of mega menu.

saif's picture
saif
Fri, 08/14/2015 - 01:04

Hi Phuonght,

Would you please give me an idea about the release time?

BTW, If you could add the menu name at the "id" attribute, that would be great for other developers. For example, I have made a menu called "Header Mega Menu" and set the menus there. Now, when I show it to front-end and if I check the wrapper element's "id", I see this: "block-md-megamenu-1". But, "1" shouldn't be any id. It would be very useful if you change the "id" to something like: "block-md-megamenu-header-mage-menu" as per the mega menu name.

Thanks.

phuonght's picture
phuonght
Fri, 08/14/2015 - 03:31

Thank you for your idea about our mega menu.

At the moment, there are a few works then it's done. Maybe new version will be released next week. Please wait for us, we will notify you soon.

mhkc's picture
mhkc
Tue, 08/25/2015 - 13:30

Been 2 years and this still doesn't work with any specific version of jquery. Frankly it's just in the way now, since most of the other operational needs DO work with more updated versions. I have no more time to wait, and no more time to waste. Done.

phuonght's picture
phuonght
Tue, 08/25/2015 - 23:47

Hi Mhkc,

Sorry for your inconvenience when using Mega menu. We just sent to your email a new version of Mega menu. Hope you would like to update and give us some helpful feedbacks.

Please remember to run update.php when updating.

Pages

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.