[development] Drupal Folder Structure

Sam Tresler sam at treslerdesigns.com
Thu Nov 19 15:17:57 UTC 2009


I have frequently thought there should be an easier solution to this.   
What I key into though, is that all these folders, regardless of  
location, are just called "modules"  /modules, sites/all/modules,  
sites/sitename/modules  I even have one site (not my doing) with a  
sites/all/modules/custom/modules/

It seems to me that we should have three separate names for three  
separate concepts of accessibility.

/core_modules
/sites/all/universal_modules
sites/default/local_modules


Someone with better naming-sense then me should come up with those  
names, but just throwing the idea out there.

-Sam

On Nov 19, 2009, at 10:05 AM, Dave Reid wrote:

> If we move sites/all/modules to /modules people are never going to  
> realize they can do sites/mysite.com/modules. Then it doesn't also  
> fit into the standard paths for other things like sites/all/ 
> libraries and sites/all/images, etc. In all honesty people are going  
> to not read documentation and hunt for where to install their  
> modules. People will still find /core/modules and put contrib  
> modules there anyway. How this is solved is via the new module  
> install interface in D7 and being able to select modules to include  
> when downloading from drupal.org so it automatically packages things  
> correctly.
>
> Dave Reid
> dave at davereid.net
>
>
> On Thu, Nov 19, 2009 at 8:59 AM, Adam Gregory <arcaneadam at gmail.com>  
> wrote:
> I would agree. It's not incredibly apparent to a new user that they  
> need to create different modules and theme directories in the  
> various sites folders when they install Drupal. If we are trying to  
> advance the project to the next level then this should definitely be  
> something we look at. I think Kens idea of creating /core/modules  
> and /core/themes is a good idea. In addition why not just remove the  
> sites/all folder and by default use /themes and /modules as the  
> equivalent of /sites/all. That's more intuitive to someone who has  
> no idea about Drupals multisite capabilities. I think that would  
> make it easier for first time users to set up and use Drupal, which  
> is one of our objectives for making Drupal the best CMS out there.
>
> -----
> Adam A. Gregory
> Blog: AdamAGregory.com
> Twitter: twitter.com/adamgregory
> Skype: aagregory2
> Cell: 706.761.7375

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20091119/7c3a2344/attachment.html 


More information about the development mailing list