wiki:add_drupal_module_or_them

Version 3 (modified by Jamie McClelland, 12 years ago) (diff)

--

How do I add a new Drupal module or Drupal theme to my site?

If you are using the Drupal content management system, there are hundreds of modules and themes to choose from.

If you would like to add one to your Drupal site, follow these directions.

  • First, download the module or theme from the Drupal web site.
  • Unzip the file. If you are using a modern operating system, you should just be able to double click on the downloaded file and it will unzip automatically. If you are using Windows you may need to install 7-zip in order to open the files downloaded from Drupal.
  • CD into your domain.org/web/sites/default/ directory (note: if your primary host is viewsic, cd into your domain.org/drupal directory instead).
  • Copy module directories into the modules directory and themes into the themes directory.
  • If you are running Drupal 4.7 or later you can skip this step. If you are running 4.6, you may need to manually run the table creation script that came with the module (themes do not have table create scripts). Check for a file called mysql.sql in your module directory. If it exists, you will need to execute the sql statements against your Drupal. You can do this by logging into database phpmyadmin and copy the contents of the mysql.sql file into the SQL box.
  • Next, activate your modules via Drupal. Login and click the Administer link and then click the modules or themes link. If you are running Drupal 5, you will need to click Administer -> Site building -> Modules (or Themes).
  • If you are installing a new module - don't forget to set the Access permissions by clicking on the set permissions link at the top of the modules page and indicate which roles should have access to the new module.