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.
After enabling a module, its settings link doesn't show up in the menu on the following page. You have to load another page and then it will show up. This used to work properly before the integrated admin menu.
Comments
Comment #1
(not verified) CreditAttribution: commentedThis is not just for enabling modules... The menu is generated before several actions are done, so you will get the previous state in the menu in several cases, when the menu needs to be different according to the action done.
Comment #2
moshe weitzman CreditAttribution: moshe weitzman commentedWe should do force a menu_rebuild() or some such after a module is enabled. If the menu has already been printed to screen, then ideally we refactor to move output to later in the request execution flow.
Comment #3
ax CreditAttribution: ax commentedmy patch for Throttle field should NOT be displayed if module is disabled fixes this for the module configuration page. note that not only the menu has to be rebuild, but before module_list() to be reset.
the patch doesn't use menu_rebuild() but i agree that this function should be added. before i submit a patch for this, i need to know whats wrong with the throttle patch, though.
Comment #4
Steven CreditAttribution: Steven commentedThis was fixed in cvs by calling drupal_goto() after saving modules. This is not just a bugfix, but a usability increase too for refreshing and the browser back button.
Comment #5
(not verified) CreditAttribution: commented