Display list of modules to annoymous users

Events happening in the community are now at Drupal community events on www.drupal.org.
nflowers1228's picture

Hi, I'm wondering if anyone has had a need for this. We list the modules we use for our YaleSites service so people know what they have to work with. However, we currently create the list by hand. Is there a way to create a dynamic list from the modules that are on the site? Advanced help only list the ones that have readme.txt files. Just thought it would save time and effort trying to keep track every time we add a module.

Comments

query the db

buzzdecafe's picture

simplest approach would be to query the db directly and output the list of enabled modules. or disabled, or both, depending on what you're after.

API call or Drush

winston's picture

http://api.lullabot.com/module_list

So you could have someone write a simple module to display the list on a specific page callback perhaps.

Or...

If you don't mind using Drush, then there is a Drush command that will output it to the command line

drush pm-list

Will output a list of all modules and themes in a tabular format with the status (enabled, disabled, etc) as a column in that list

drush pm-list --type="module" --status="enabled"

Will output the same, but will filter out only modules and only enabled (which seems to be what you want).

Thanks

nflowers1228's picture

Thanks, I'll run this by the developers and see if this is something we can do.

Nancy Flowers-Mangs

Enabled Modules module

sclapp's picture

I don't know if it helps, but I've been using the Enabled Modules module to figure out how various packages were put together & to keep track of what's on certain setups I'm testing.

Connecticut

Group categories

County or Region

Event Type

Featured Item (Admin Only)

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: