Currently installing htmlarea requires copying a bunch of files to a bunch of different locations throughout the Drupal install file system. I'd like to see htmlarea.module changed so that all files related to the module sit in a folder called 'htmlarea' inside the modules folder.

I don't see any adverse effect to doing this, except for some internal URLs that will get longer.

I'm working on such a change on my sites. If nobody objects within a few days, I'll post it to contrib.

Comments

Eric Scouten’s picture

Note that this would make htmlarea essentially similar to project.module WRT installation procedure. I think it's a good model.

gordon’s picture

Assigned: Eric Scouten » gordon

Ok I can do this, it is just a 5 minute fix, to change it. It will not take me long to put it on.

gordon’s picture

the support files of htmlarea have not been move to misc/htmlarea

Eric Scouten’s picture

Hmmm... not quite what I had hoped for. I was looking for things to be in modules/htmlarea, not misc/htmlarea. Reopening in hopes that the location will be reconsidered.

gordon’s picture

I agreed with moving all the supporting files to a directory by themself, but at this stage I do feel that there needs to be some discussion with how this should be done in the core of drupal. At this stage the most logical place for any supporting files is misc. This also stops the clutter of the modules directory and make maiuntaining alot easier as most of my development is done in the modules directory and if there is a hole lot of directories with modules inside with make things more complex.

At this stage I have postponed this request until and need to get a little more verification on where supporting filers should go and update the CODING_STANDARDS with this.

Eric Scouten’s picture

This was done a while ago, but the bug wasn't updated.