Changes between Version 2 and Version 3 of faq/drupal/add-module-theme
- Timestamp:
- Sep 7, 2010, 3:05:23 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
faq/drupal/add-module-theme
v2 v3 11 11 * SFTP into your web site (see [wiki:sftp sftp help page] for more information). 12 12 13 * Enter your domain.org/web/sites/ default/ directory (note: if your primary host is viewsic, cd into your domain.org/drupal directory instead). You should see a "modules" and a "themes" directory. In your domain.org/web directory, there is also a "modules" and "themes" directory which can be confusing. These directories are ''not'' the ones to put your modules or themes in. If you try you will get a [wiki:drupal_sftp_permission_denied access denied message]. Instead be sure to use the "modules" and "themes" directories in your domain.org/web/sites/default directory.13 * Enter your domain.org/web/sites/all/ directory. You should see a "modules" and a "themes" directory (if not, you will need to create them). In your domain.org/web directory, there is also a "modules" and "themes" directory which can be confusing. These directories are ''not'' the ones to put your modules or themes in. If you try you will get a [wiki:drupal_sftp_permission_denied access denied message]. Instead be sure to use the "modules" and "themes" directories in your domain.org/web/sites/default directory. 14 14 15 15 * Copy module directories into the modules directory and themes into the themes directory. 16 16 17 * 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 [wiki:access_drupal_database_directly phpmyadmin] and copy the contents of the mysql.sql file into the SQL box. 18 19 * 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). 17 * Next, activate your modules via Drupal. Login and click Administer -> Site building -> Modules (or Themes). 20 18 21 19 * 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.