By meez on
Hi,
on my site the drag and drop functionality is not working anymore, to reorder my Main-menu items? I have a lot of menu items (and also Multilingual main-menu. I also used TB mega menu module.
I tried all kind of solution but its still not working!
Does anyone has any idea what to do, to get the drag and drop functionality back to work?!!!
Thanks!!!
Comments
JS error
Maybe you've got a Javascript error somewhere. Do you see anything if you look in the JS console? (In Chrome, it's under View > Developer > Javascript console).
Are you using a newer version of jQuery than the one provided with Drupal core? Sometimes that can break things.
Hi,
Hi,
thanks no i don't get an error in console... For 'Alternate jQuery version for administrative pages' i tried jquery 1.5 and 'default drupal'. Both not working...
What else can i try?
Thanks in advance.
_
try turning off jquery_update just to see if the issue goes away.
Hi,
Hi,
i turned jquery_update off, but no result. Drag and drop main menu items still don't work?
What else can i try?
Thanks
_
Something is causing a conflict. Try turning off mega menu as well... And any other added contribs one by one until you find the culprit. Be sure to clear both the drupal and browser caches each time you make a change. Also double check the console for errors.... Js rarely stops working without an error.
Hi,
Hi,
i disable TB and cleared all cash etc but no result... Before i go disable all contributed modules one by one i see the following:
Structure > Menu > Main menu > Show row weights > I see in this submenu all weights have weight '0'. Why is this? If you drag and drop should it change accordingly?
What a hard bug!!
Thanks.
_
You see the numbers for the order because the js is not working. When drag and drop js is working correctly, it hides the numbers. I still tend to think you must have js error in the console.
no i see the numbers because
no i see the numbers because i clicked on 'Show row weights'. Top right corner.
Thanks
@WorldFallz do you have a PM
@WorldFallz do you have a PM so i send you some logins. Maybe you can have a quick look??
Thanks in advance.
Show row weights
Meez,
I also had the same issue and tried different versions of jQuery and disabling several advanced menu modules I had enabled.
I the end I figured out I'd accidentally clicked the "Show Row Weights" link on the menu listing top right which removes the drag and drop capability. Click it again to hide and your drag and drop functionality should return.
Thanks,
Jason
Thank you, This saved me time
Thank you, This saved me time.
Thank you, Jason, for the
Thank you, Jason, for the solution, it helped me too.
That did it. Thanks :)
That did it.
Thanks :)
Drag and drop reorder.
In my case it was solved returning to version 1.5 on JQuery Update configuration and clearing caches on drupal.
Reorder menu items drag and drop not working
You can change the jQuery version for admin pages only:
Home » Administration » Configuration » Development » jQuery update
Set 'Alternate jQuery version for administrative pages' to version 1.5. I've not tried other higher version to test if this works too.
I changed my JQuery version
I changed my JQuery version to 1.5, cleared my catch, tried to change the order of the links in my main menu both by changing the weights of the menu items and by drag and drop. But it didn't work. On this website
Does anyone have another idea how to solve this problem?
Best regards,
Mariska.
Reverts back to original position after saving
After setting 'Alternate jQuery version for administrative pages' to version 1.5.
Drag and Drop will work. But after Saving, it will revert back to the original position.
Drupal 7.53
newer Chrome versions cannot drag and drop anymore on desktop after 7.51 update when jQuery is updated to 1.7-1.11.0
https://www.drupal.org/project/drupal/releases/7.53
Fixed in Drupal 7.53
Updated Drupal version to Drupal 7.53. It is fixed there.
https://www.drupal.org/project/drupal/releases/7.53
I was able to solve this by
I was able to solve this by going to Configuration > Development > Performance and enabling both options under BANDWIDTH OPTIMIZATION.
rebuild menu
Try to rebuild the menu (under the development menu), that worked for me
Menu with many weights set to zero
We still have this problem. I updated from 7.52 to 7.54 and we cannot reorder menu items and have it stick after save in the admin/structure/menu/manage/menu-machine-name interface. There is no js error in the console. We are using the default jquery.
We still have problem with 7
We still have problem with 7.56 Drupal version. Can someone please suggest a way to resolve this drag and drop issue?
Drag and drop.
In my case is consistent that changing the "Alternate JQuery version for administrative pages" at Configuration/JQuery Update to 1.8 or less solves this issue.
Drag and drop.
In my case is consistent that changing the "Alternate JQuery version for administrative pages" at Configuration/JQuery Update to 1.8 or less solves this issue.
Thanks glanster. As per https
Thanks glanster. As per https://www.drupal.org/node/2843240, I am discussing with my team to go for 1.12 version. Please let me know if you faced any issues with higher jquery version in the backend.
Drag and drop
I also experienced the problem discussed in https://www.drupal.org/node/2843240. I skipped it just editing the row weight fields for the moment. I didn´t try higher versions of jquery yet.
max_input_vars
Please consider increasing max_input_vars from your php.ini if you have tons of items in your menu.
thank you
this was it. I set max_input_vars = 2000 and it worked like a charm! thanks @makbay!!!!
nice to hear
nice to hear :) you're welcome
This works!
Thanks @makbay. This works immeidately. Our colleagues have menu manually changing weight one by one for the whole day. This save our day!
Awesome!
Awesome!
@makbay's answer is the fix
@makbay's answer is the fix
This also happens if you have too many blocks in the block region.
Admin Views interference
I had a similar issue that suddenly the taxonomy terms list no longer had Drag and Drop and actually was replaced by a view for some reason. I tracked the view down to Administration Views (Administration: Taxonomy terms) which had a Taxonomy Views path matching the admin taxonomy path (/admin/structure/taxonomy/%).
I just disabled the view and got the normal drag and drop Terms List back.
No idea if it normally does that, whether it is supposed to retain the drag and drop or not? If not, it's not much of a UI improvement to make it totally useless, so assume some bug has happened somewhere.
Anyway, that's a possible solution if the Drag and Drop capability has vanished and your list has turned into a view with a filter above it.
Try clearing local storage
I had the same issue when using Chrome but not Firefox. I decided to clear my local storage in Chrome and that seemed to do the trick.
I also had the same issue and
I also had the same issue and tried different versions of jQuery and disabling several advanced menu modules I had enabled.