Download & Extend

Menuperformance

Drupal's regular menu system administration doesn't scale very well. This is due to the fact that for all node edit pages, node type edit pages and vocabulary edit pages (when Taxonomy Menu is active), Drupal loads all menu items from all menus in the system. For large amount of menu items, this slows down the system to an unusably slow speed, or even causes timeouts.

This is a known problem in Drupal core. This comment is from the menu module:

  // The menu_links table can be practically any size and we need a way to
  // allow contrib modules to provide more scalable pattern choosers.
  // hook_form_alter is too late in itself because all the possible parents are
  // retrieved here, unless menu_override_parent_selector is set to TRUE.
  if (variable_get('menu_override_parent_selector', FALSE)) {
    return array();
  }

Menuperformance takes advantage of this, and sets the variable when installed. It then proceeds to add its own AJAX based parent menu item selector widgets for the node edit, node type edit and vocabulary edit pages.

Dependencies

None.

Documentation

Note that the module doesn't set the variable "menu_override_parent_selector" on installation, nor does it unset it when the module is disabled. This is because the variable is not defined by Menuperformance, and as such might be set by another module. That said, having two active modules that both use the variable is almost guaranteed to cause trouble.

README.TXT

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0-beta3 tar.gz (14.44 KB) | zip (16.19 KB) 2012-Sep-27 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (14.6 KB) | zip (16.42 KB) 2013-Feb-22 Notes

Project Information


Maintainers for Menuperformance

  • firebird - 12 commits
    last: 12 weeks ago, first: 1 year ago

Issues for Menuperformance

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here