Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The admin/build/menu-customize/ pages are slow to load and sometimes white screen. The majority of the work involved in loading the menus are the large select tags (at least 101 elements per menu item) and the javascript to make them draggable. The select tags can be replaced with textfields with no change in functionality for javascript users and minimal change in functionality for non-javascript users (a textfield rather than a bulky 101+ item selection.)
Comment | File | Size | Author |
---|---|---|---|
#2 | menu.patch | 1.08 KB | juli |
menu.patch | 821 bytes | juli | |
Comments
Comment #1
vosechu CreditAttribution: vosechu commentedToo much whitespace, needs comments. Have you tried this in 7?
Comment guidelines: http://drupal.org/coding-standards#comment
Comment #2
juli CreditAttribution: juli commentedCleaned up patch and added comments.
In Drupal 7, the form processing specifically looks for and uses the options, so unfortunately a more complicated solution is needed. I haven't yet worked on a 7 site with large menus, so I can't say whether such a solution is necessary.
Comment #3
vosechu CreditAttribution: vosechu commentedI think we're going to have to test it on a 7 box in order to get any love at this point. Actually, we may still not get any love for a while but we can still push people on it.
For reference the site we were testing on had 1500 menu items. I suspect that anything over 500 will freeze IE and anything over about 1k will probably timeout most other browsers no matter how fast their rendering engine is.