Active
Project:
Enabled Modules
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2009 at 07:05 UTC
Updated:
16 Oct 2010 at 19:25 UTC
I'm going to implement a 1st rev for d6 which will list all newly enabled modules (after enabled_modules is installed).
The block will look something like this:
Unconfigured Modules:
---------------
x ImageCache
- Configure
- Mark as Configured
x Organic Groups
- Configure
- Mark as Configured
x Whatever
- Configure
- Mark as Configured
When a user clicks on configure, we'll take them to the first item from system_get_module_admin_tasks. Once they submit the form on this page, we'll remove that module from the list.
How does that sound?
Comments
Comment #1
mlncn commentedCongratulations on nominating yourself new co-maintainer of Enabled Modules! If you can add our own submit handler to the first page identified as an admin task for each module – 'cause sadly it is a menu link, not a form, that we'll know about – that'd be very slick!
(I'm happy to review and commit patches, also, but I don't want to be a bottleneck or for you to fear being left out in the cold.)
Comment #2
juliangb commentedLooks like this hasn't made it in yet.
I suggest the best way forward would be to define a table which stores the installation date of each module, triggered from one of the hooks. This can then be linked via views and the whole magic of views will be there.
The configured / hide flag can simply be a delete from that table - that way it would automatically put it back if you reinstall. Alternatively, it could be a flag to say configured, in which case it would never bother you again. Thoughts on that?
Comment #3
juliangb commentedThere is a new hook in D7 (http://api.drupal.org/api/function/hook_modules_installed/7) which should be perfect for at least detecting a new module, even if enabled_modules has to deal with the timestamp.
Therefore, postponing this issue until there is a D7 release of some sorts to move it to.
Comment #4
juliangb commentedActive for D7.
Comment #5
mlncn commentedAgentRickard points out that the hook we actually want is http://api.drupal.org/api/function/hook_modules_enabled/7