A Drupal site we are currently working on uses Journal module to continuously keep track of all changes made throughout the site. Developer modules should not be enabled permanently, but admin menu's toggle feature disables all defined modules without exceptions.
The goal is to allow to select modules from the default developer modules list that should be kept enabled. I do not want to do the opposite, because that is already possible by overriding the variable of developer modules we introduced - however, overriding this variable means that site admins need to be cautious when updating the module (as the default list might have fixed/changed/improved in a future version). Also, I do not want to make the list of developer modules completely customizable, as this could be security issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | admin-menu-exempt-developer-modules.PNG | 25.87 KB | keith.smith |
| #1 | admin_menu.devel-modules-skip.patch | 3.43 KB | sun |
Comments
Comment #1
sunHere we go. Works flawlessly form my testing.
However, now I need to get keithsmith to review the introduced strings ;)
Comment #2
keith.smith commentedAfter enabling a patched admin_menu on a new installation of head, I get the attached screenshot on the configuration page. Surely that's missing something (like some checkboxes?)
This is a tough bit in the UI. Basically you're exempting certain modules from disabling, I guess.
Comment #3
sunOh, the patch is against 6.x - I didn't test it with HEAD yet.
Of course, you also need at least one developer module (f.e. Devel) installed to get some checkboxes in this list.
Admittedly, I did not think of the fact that one could not have any developer modules installed... (leaving this for later)
Comment #4
sunThanks for reporting, reviewing, and testing! Committed to all 3.x branches with a slight fix to not display the setting in case there are no developer modules available at all. ;)
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.