Er... how do I activate a module, or stick it onto my sample Drupal site?

I have downloaded the module. I have installed Drupal, using XAMPP. So now I should be able to go round inside the Drupal menu and "switch on" or "attach" the module somehow, right?

apologies...

Comments

vm’s picture

modules get enabled in administer -> modules

cog.rusty’s picture

Most modules have a "readme" file with instructions.

In 99% of the cases those instructions tell you to upload the module's directory with all its files into the sites/all/modules directory on the server using an FTP program (or just copy it there if it is a local XAMPP), and then to go to http://example.com/admin/build/modules and enable the module.

In a few cases, the instructions tell you to do some more things.

markgriffith’s picture

Thank you again for being so clear, as I flounder around.

Shall try those things at once.

markgriffith’s picture

...So the module [lightbox] Readme document says

I should copy the lightbox2 folder to the modules directory. I do this, seemingly. Then it says...

<< 2. At admin/build/modules enable the lightbox2 module. >>

so I click 'admin', then 'Site building', then 'Modules' and I get a list _not_ containing the module lightbox2, or any clue how to get there.

Presumably this means I've put something into the wrong folder then...?

cog.rusty’s picture

Yes, if the module does not appear in the modules list, then probably it is either in the wrong place or the wrong version.

- For Drupal 6 you should use Lightbox2 6.x-1.8 (the latest at this moment).
- The "modules directory" for additional modules is usually a sites/all/modules directory under drupal, and the modules should be in their own subdirectories under that.

markgriffith’s picture

This stuff is all about getting these folder and directory things in the right places, isn't it? I shall work this out. Thanks again.