When using the menu link field, you lose the ability to rearrange items on the menu edit screen. (admin/structure/menu/manage/[MENU]/edit)

You can move the links around, but once you edit an entity that's been moved, it returns the link back to the old spot in the menu.

It would be great to be able to use the drag and drop menu edit to be able to move things around.

Comments

goz’s picture

Category: feature » bug

I have same problem.

First all was right. But now (without module update), i cannot use menu order anymore.

I have 3 environments : local (MAMP) / dev (same server as preprod) / preprod. The 3 have same code and DB now, but only local work when i want to edit order menu on admin/structure/menu. Very stange.

I'm looking module to find what should be but help is welcome.

I mark it as Bug because we lose core functionnality.

goz’s picture

In my case, bug not comes from menu_link but menu_expanded. Do you have this installed to ?
After disabling menu_expanded, i can use drag and grop and save weight menu modifications.
menu_expanded break the submit core menu form so core and menu_link cannot save their changes.

goz’s picture

Finally, bug persists. It's not caused by menu_expanded. Sorry for that mistake.

In my case, bug comes from server configuration and specially suhosin debian module (default on Debian) which limit variables number to 1000.

In menu links administration page, one item link use 4 variables, so by default we are limited to 249 links. After that, form_build_id, form_token et form_id variables don't appear on $_POST.

To avoid this problem, edit variables :

suhosin.post.max_vars = 10000
suhosin.request.max_vars = 10000

Maybe a warning on readme and documentation should notice that with menu links module, admin/structure/menu generate a lot of variables and that we have to update variables limitation on server to not break this administration page.

vuil’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Close the issue as Closed (outdated).