Where's the proper directory to place modules

Events happening in the community are now at Drupal community events on www.drupal.org.
jundolor's picture

Hello all:

I'm quite confused as to where to place modules.

In http://drupal.org/node/176044, it says that modules are to be placed in the sites/all/modules/ directory.

In http://drupal.org/node/181998, it says that SWFTools are to be placed inside modules/ directory.

I'm working with two live test sites. In first, I placed swftools inside sites/all/modules/ directory. In second, I placed swftools in modules directory. In both cases, SWFTools appeared in administer>>site building>>blocks, where they were activated. However the result was the same, neither displayed the flash swf file.

Is there any tread which provides guidelines when it is best to have modules in sites/all/modules/ directory and when modules should to to modules/ directory.

Many thanks, Jun D!
Life is like a box of chocnut, you never know if its durog or not...

Comments

Strategically

mrgoltra's picture

if you are planning to run more than 3 sites on one Drupal installation, it is advisable to but it in all/modules, so if you need to update any module you only do it once and save you the time. For me personally I put contributed modules in the sites/all/modules directory to make it easier for me to separate core and contributed module when I am doing troubleshooting.

Also is you look at the contributed modules, it should have an install.txt file which tells you where to put the module, you also might want to check the support forum for each module. If you don't find one then post a question.

I haven't used the SWF Tools but,

I don't you will need to install SWF module in both places, one will do

regarding flash file do you have the player installed. flashplayer.swf or player.swf or is it placed in the right directory?

host server have mime type set?

http://www.jeroenwijering.com/?item=JW_FLV_Player

also check folder permission

in drupal 5.x, all

DL's picture

in drupal 5.x, all contributed modules should be placed in the sites/all/modules directory it goes for the contributed modules. same goes for contributed themes, all must be placed at the sites/all/themes directory

collectivetech.org
Technology for organizations. Open Source. Consultancy. Training.

Try this for your flash

DL's picture

Try this for your flash needs : Flashnode

collectivetech.org
Technology for organizations. Open Source. Consultancy. Training.

Philippines

Group organizers

Group categories

Post category

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: