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!
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
Comment #1
hsatish commentedwhich one is better,either making Unused modules page as 'MENU_NORMAL_ITEM' or 'MENU_CALLBACK' ?
Comment #2
Narno commented@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.
Comment #3
Narno commented@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
Comment #4
Narno commentedComment #5
Narno commentedCheck the 6.x-1.x-dev release: http://drupal.org/node/357419
Comment #6
hsatish commentedI 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.
Comment #7
hsatish commentedthanks @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
Comment #8
Narno commentedAbout 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
Comment #9
hsatish commentedexactly 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.
Comment #10
chrowe commentedhttp://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.
Comment #11
Narno commented