Posted by bredi on May 18, 2009 at 11:12pm
Jump to:
| Project: | Used modules |
| Version: | 6.x-1.2 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Narno |
| Status: | active |
| Issue tags: | modules |
Issue Summary
This is great! I wondered why core didn't have a button to show you all active modules. I'd also like to see all non enabled modules so I can uninstall and delete them from the directory.
thanks again!
Comments
#1
which one is better,either making Unused modules page as 'MENU_NORMAL_ITEM' or 'MENU_CALLBACK' ?
#2
@bredi Thanks ! :-) The objective of this module is to display used modules to all users of your websites, in order to share useful modules. But maybe, it would be interesting to display all modules : actually modules are filtered with "status = 1" in SQL request. I could add an option to enable/or not this option in module back-end.
#3
@hsatish hum, interesting question... :-)
- MENU_CALLBACK : Callbacks simply register a path so that the correct function is fired when the URL is accessed. They are not shown in the menu.
- MENU_NORMAL_ITEM : Normal menu items show up in the menu tree and can be moved/hidden by the administrator. Use this for most menu items. It is the default value if no menu item type is specified.
http://api.drupal.org/api/group/menu/6
#4
#5
Check the 6.x-1.x-dev release: http://drupal.org/node/357419
#6
I have tested the module.Its working fine and showing either active modules or all the modules.But i think feature request is to also show non-enabled modules alone.
#7
thanks @Narno
i just asked which option for menu item of non-enabled modules page is better!
I added a small tweak to the module.Interested guys can check it at http://hsatish.net/?q=node/6.
thanks again Narno
#8
About the displaying of disabled modules, I have a doubt about the interest because this is not the objective of the module named used modules, you see? Why display just the disabled modules? If you want to know witch modules are disabled to properly uninstall it, I think the best way is to use the Plugin Manager module, no?
I'm agree with you, I think it's a better default configuration for the page menu.
And more, your tweak about sorting is interesting, can I used your code?
Thx
#9
exactly what I was looking for ! thanks and sorry for not having find it before.
As a newbie to php and drupal,i'm very excited to hear it from you.if you think it is worth you can definitely use it.
#10
http://drupal.org/project/enabled_modules does this and is intended as an admin module for tracking down unused modules. This module seems to be designed for listing the modules a site uses so that non-admin people can learn how the site was built.