New module: Tiny Menu Editor

Events happening in the community are now at Drupal community events on www.drupal.org.
dmitriy.trt's picture

If you have a huge menu tree and small memory limit, default menu editor may generate WSOD with "Memory limit..." errors. I've seen such errors on 64Mb memory limit on menu editor page, while site itself worked normal. Default menu editor uses too much memory. So, I've developed light version of menu editor. I'm not submitting it as a patch for Drupal core, because module reduces functionality (it hides checkboxes "expanded", "hidden", replaces "weight" select with textfield+validation - this gives us most memory saving). I'm thinking about extending module with options and publishing it.

What do you think? Are there any modules with this functionality? Will it be useful?

Comments

How many menu items are

deviantintegral's picture

How many menu items are causing the memory limit to be hit? Can it happen with a bare install with many menu items?

I wonder if this is still a problem in D7.

About 600 menu items

dmitriy.trt's picture

It was about 600 items in one menu. Also, please note that site was using Garland theme, but with a lot of modules (CCK, Views, Panels, Admin menu). I'll make some tests on clear Drupal install and post results here later. Most memory consuming element is weight (because of its HUGE list of options), replacing it with textfield+validation saves about 30% of memory (from 70Mb to about 45Mb in our case).

Edit: Site is in Russian language, so maybe memory usage is a bit higher than on English sites because of UTF-8.

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: