Is it safe to remove core modules (e.g. blog, profile, forum, taxonomy, story, comment...) all together from the modules directory? I don't want any module I'm not using at the moment to be visible on the module administration page. Or are certain modules required to be present, even if they are not used?

Comments

henrik.ingo’s picture

Good question. Who knows the answer?

andre75’s picture

If Memory serves me right, I did exactly this. I removed blog and some others without any adverse effects. You have to be sure to remove none of the required ones, but the ones you can enable or disable under admin/modules seem to be removable.

Andre

-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com

Horizon-1’s picture

I've removed almost all optional modules from my modules directory, and haven't encountered any problems yet. Thanks for your answer.

andre75’s picture

But don't take my word for it or blame if anything goes wrong. I am new to Drupal and I did this without thinking too much about consequences, after I found out that every module will be loaded when you go to admin/modules. So far I haven't had any glitches.
I figured if you can disable it, you can delete it.

Andre

-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com

asparagus’s picture

some of these modules may have tables in the database though which if you really want to be thorough, it might be good to remove these as well. not sure how intricate this would be though.

to make drupal more customizable and move away from the community only type site, it might be nice to have modules in a three tier list.

1 - required [ developed and tested as core ]
2 - core tested [ basically the rest of the non-required core ]
3 - 3rd party [ obvious enough ]

also it might also be nice to have an installed column in addition to the enabled column in the admin/modules page. the idea being that with the 4.7 mod_name.install file you could install what was required [ including database files ] but then also uninstall files [ ie also drop tables that were installed ]

as i'm not doing any of this work, i just wanted to put it out there as a 'maybe this would be a good idea, but you've probably already thought of it...' sort of thing.