[development] Drupal Folder Structure
JoshM at haanmc.com
Thu Nov 19 14:40:44 UTC 2009
As I recall from over a year ago, my first two Drupal sites had custom
and contrib modules in the /modules/ folder. Then I had to upgrade and
it was very painful. I'm sure there are other devs out there that have
similar stories. My point is that we shouldn't *have* to document, it
should be *very apparent* where things go.
On a side note, this is definitely a D8 discussion.
From: development-bounces at drupal.org
[mailto:development-bounces at drupal.org] On Behalf Of Charbel Khadra
Sent: Thursday, November 19, 2009 9:45 AM
To: development at drupal.org
Subject: Re: [development] Drupal Folder Structure
i don't see what you are posting is a major issue.
any user who is going to deploy drupal application should a have a
minimum technical level to be able to read the basic insatallation step
of a module
charbel at ebizproduction.com
On Thu, Nov 19, 2009 at 4:40 PM, Ken Winters <kwinters at coalmarch.com>
On Nov 19, 2009, at 9:15 AM, Josh Miller wrote:
Is there anyone else worried that the Drupal folder structure encourages
users to drop modules or themes into the wrong place? Wouldn't you like
to have a folder structure that separates core from the rest of the
customizable sites folder?
As this issue could blow up in the issue que
(http://drupal.org/node/22336) perhaps a short discourse on the mailing
list is in order. It's weird that we all care so much about coding
standards and yet we let our folder structure look so thrown together.
Perhaps I'm wrong. I have feeling the real reason we are putting up with
such a confusing structure is that moving files can introduce a big wtf
and some might think we should leave it well enough alone. On the other
hand, I believe it's broken and not at all grokable for 100% of the
I'm all for moving the core modules into /core/modules, themes into
/core/themes (or anything equivalent) in D8. It seems way too late for
What we could do in the immediate is put a text file DONTTOUCH.txt or
whatever in those folders, with instructions on what users should
actually be doing.
On a related note, some modules encourage users to place custom code or
plugin modules into [module folder]/modules,
which is bad because they can easily be deleted when the main module is
updated. I think we should discourage this.
- Ken Winters
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development