Current process after one for example has enabled say devel and devel_generate:
- Go to
/admin/modules - Uncheck "Devel Generate" ("Devel" is locked)
- Hit "Save configuration" -> page refreshes, now "Devel" is unlocked
- Uncheck "Devel"
- Hit "Save configuration" -> page refreshes, both "Devel Generate" and "Devel" are disabled
- Go to
/admin/modules/uninstall - Check "Devel Generate" ("Devel" is locked)
- Hit "Uninstall" -> you get redirected to the confirmation page
- Hit "Uninstall" again -> you get redirected back to
/admin/modules/uninstall, now "Devel" is unlocked - Check "Devel"
- Hit "Uninstall" -> you get redirected to the confirmation page
- Hit "Uninstall" again -> you get redirected back to
/admin/modules/uninstall
OMG, finally!!! ...and this is only with one level of dependency. Imagine if you had a devel_generate_extras module installed that depended on devel_generate and you wanted to disable devel. That would make devel_generate be locked until devel_generate_extras was disabled/uninstalled and then devel would still be locked until devel_generate was disabled/uninstalled. O-M-G!!!
How I envision this to work ideally:
- Go to
/admin/modules-> "Devel" is not locked - Uncheck "Devel" -> dialog pops up explaining that this module is required by "Devel Generate" (and any other modules down the chain) and that means that these will need to be disabled too.
- The dialog also offers a "Also uninstall these modules after disabling them" checkbox that is unchecked by default
- Confirm -> dialog closes and there are indicators (red status text, asterisks, what-have-you) next to all modules queued for disabling.
- Hit "Save configuration" -> progress bar shows the progress of disabling and uninstalling all queued modules. -> you get redirected to
/admin/modules/uninstallthat has a report of which modules were disabled and which were uninstalled, giving you the option to uninstall any that are just disabled.
Compare 5 steps (no matter the complexity of dependencies) vs. at least 12 steps with one level of dependencies. Now, that's something I'd like so see fixed in the next minor release.
Recent comments
As I work through things I flush the caches after every change I make. As far as I can tell I have the custom module in the correct place (/modules/custom/fix_zero_search) and the file...
custom module not showing up in modules list
If you haven't already, flush all the caches. If it is in the modules folder whether directly or in a custom folder it will show up. If not, something else is wrong with your site; check...
custom module not showing up in modules list
Awful idea! That's not how modules get installed! The number in db indicates the installed state and schema version. You're not supposed to fiddle in the database directly. There's an...
custom module not showing up in modules list