Posted by c0nfuted on November 3, 2012 at 2:52pm
I Have a Dream: When I logon as an administrator, click the "Modules" menu, I'd like the default for the display of modules to be collapsed (the default now is expanded).
Reason: I'm spending a lot of time scrolling through modules, or collapsing them, just to get to the section I want.
I've spent a few hours searching/reading code and have a few suspects, but not having success finding the silver bullet... I'm not a PHP-programming-kind-of guy, yet, eh? (Perl, C, IBM 360 Assembler yes... but not PHP).
Comments
=-=
two options
utilize the admin menu module which has a setting for collapsing the fieldsets, or use the module_filter.module which provides a filter and tabs on the modules page.
Admin Menu Module
Whoa! No coding alterations? Now how am I gonna learn anything about PHP and Drupal???
Yepper... I installed the Admin Menu Module, went to Configuration >> Administration >> Administration Menu and then under the Advanced Settings I checked the Collapse module groups on the Modules page and the Collapse module groups on the Permissions page check boxes.
Fabulous! And thanks!
UPDATE: Forgot to mention - the Admin Menu Module is going to save me a ton of time doing many other things! No more waiting for pages to load as I navigate to make other adjustments; e.g. I can, with a single click go from anywhere directly to Structure >> Content types >> Article >> Manage fields >> Image >> Widget type if I need to. Talk about an extreme time saver!!!
And as they say: Time is money! (in my case, since I'm retired, "a second saved is another second I can spend doing the things my wife wants me to do!")
=-=
If you really wanted to dig into how the feature is produced, you could look at how admin module produces the feature then experiment with the code in a custom module on a dev site.