How do I add a module?

AprilFloyd - February 23, 2008 - 18:52

Hi,

I have searched the site and documentation. I just want to know how I add a module

easy

rian - February 23, 2008 - 19:11

you download it, then un-zipp it into the modules folder under your drupal installation directory, then you can enable it by going to Administer >> Site building >> modules, and you enable it.

Regards

Best practice

CrookedNumber - February 23, 2008 - 19:41

The recommended best practice is to keep core and contributed modules in separate directories.

Place any module you download in:

/sites/all/modules (if this is a fresh install, you'll have to create this directory)

or

/sites/default/modules (if this is a fresh install, you'll have to create this directory)

If you place contributed modules in /modules, you increase the chances of them being overwritten when you upgrade.

See: http://drupal.org/node/120641 for more info

If I create this new directory will it still enable

AprilFloyd - February 23, 2008 - 20:06

Hi CrookedNumber, if I do as you suggest will it still be 'enabled as the first post suggests?

a few steps

CrookedNumber - February 23, 2008 - 20:15

Yes and no. Drupal will certainly be able to see your module in that new directory, but you will still have to go through the enable module process mentioned above.

Read the README.txt in the sites/all directory, as well as the link I mentioned in my first post.

 
 

Drupal is a registered trademark of Dries Buytaert.