Hi all,

I would like to know if it's possible to organise modules in subfolders like this

site/all/modules/CCK/cck
site/all/modules/CCK/link
site/all/modules/CCK/filefield
....

site/all/modules/VIEWS/views
site/all/modules/VIEWS/views_bulk
....

I made some try without any problems, on a basic install but i'm afraid that in the futur this organisation could create conflict with modules.

What the point about this organisation, i'm right?

Regards
Florent (frenglish writer ;o)

Comments

tommyent’s picture

I would say don't but can't really say for sure.
But can I ask why you would want to do this?
This would definitely complicate updating modules. Although it may look neat and organized I think you would find that it will do the opposite.

msbrar’s picture

Does this work ??? I want to seperate my modules created for my website from Features module from the ones that i have downloaded from net.

tomgrandy’s picture

We use the Acquia stack and it comes with views and cck already installed in acquia-drupal/modules/acquia. This makes it easier to update Drupal when updates come out since all our core modules are sitting right on the root in the modules folder.

That said, we run a multisite environment and also maintain all our "non-aquia" modules in a folder like you have described (sites/all/modules) so that even though we will have to update them individually when moving to, say a D7 environment, we will only have to do it in the all/modules folder once instead of twenty-three times for each different website.

It works, but I would keep all your core/standard modules in one folder and use the sites/all/modules for the odd-ball ones that you may or may not continue to use in the future.

Hope this is helpful,
Tom