You are hereInstalling Drupal Modules

Installing Drupal Modules


Modules are chunks of code that can be enabled to add specific functionality to your website. There are modules for fighting spam, fixing links, resizing pictures, and user voting on content to name a few.

Drupal 7: Installing modules

Modules are a bit easier to install in Drupal 7, and the process is very similar to what one would do to install a theme. Drupal 7 is still relatively new, so it doesn’t have the extensive module library of Drupal 6 just yet. Don’t worry though, you’ll still find that there are an overwhelming number of ways for you to enhance the functionality of your Drupal website.

Installation

  1. Go to Drupal.org and find a module with functionality you want to add
  2. Right click on the .zip file for the theme you want to use and click “Copy Link Location”(“Copy Shortcut” in Internet Explorer)
  3. Go to your drupal site and log in
  4. Click ‘Modules’(top of the page)
  5. Click the “Install new module” link (See Picture)
  6. In the section for “Install from a URL”, paste the link you copied in step 2 (See Picture)
  7. Click ‘Install’
  8. Click ‘Enable newly added modules’
  9. Scroll down and find the module you just installed and check the box to the left of its name. Note: You’ll notice that some modules require other modules in order to work. When this happens, you’ll just need to install and enable the required modules as well.
  10. Click ‘Save Configuration’
  11. Whenever you add a new module, you’ll need to run update.php. All you have to do is make sure you’re logged in as the administrator. Then navigate to your website address with a /update.php on the end. For example: my-example-site.com would use my-example-site.com/update.php.


 

Drupal 6: Installing modules

You can add a module to your drupal site within minutes! Just remember to make sure that you get a version of the module that is appropriate for the version of Drupal you’re using.

  1. Find the module you want to add, and download the .zip file.
  2. Next, extract the folder onto your desktop

Upload to your server

  1. Open up your FTP client(What’s an FTP client?!) and login
  2. On the server side of your FTP window, navigate to: /public_html/sites/default
  3. Right click on the ‘default’ folder and click ‘File permissions’
  4. In the window that pops up, make sure ‘Read’, ‘Write’, and ‘Execute’ are checked under ‘Owner Permissions’(you can leave everything else as is). Click OK.
  5. Navigate to: /public_html/sites/default/modules
    NOTE: You may open your ‘default’ folder to find there’s no ‘modules’ folder. It’s okay, just right click in an empty area in your default folder and choose ‘Create Directory’. Then change the name from ‘New Directory’, to ‘Modules’(This is why you did that permissions thing in the earlier steps).
  6. Drag the extracted folder into the ‘modules’ folder

Activate your module

  1. Go to your Drupal site and log in
  2. Click Administer
  3. Under ‘Site Building’, click ‘Modules’
  4. Scroll down and find the module you just installed and check the box to the left of its name. Note: You’ll notice that some modules require other modules in order to work. When this happens, you’ll just need to install and enable the required modules as well.
  5. Click the ‘Save Configuration’ button at the bottom of the page
  6. As in Drupal 7, whenever you add a new module, you’ll need to run update.php. All you have to do is make sure you’re logged in as the administrator. Then navigate to your website address with a /update.php on the end. For example: my-example-site.com would use my-example-site.com/update.php.

Newsletter Signup

Corrections? Feedback?

This site hosted on:

Contributing Member of the Official Drupal Association