Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

Updating Drupal Themes and Modules

Suppose you want to upgrade a Drupal module or theme you’ve installed. The Available updates page in the following illustration shows any modules that are out of date, along with the link to download the new version right there on that page.

image0.jpg

To upgrade a module or theme, follow these steps:

  1. Click the Modules link (or the Appearance link, if you’re updating a theme).

  2. Scroll to the bottom of the page and deselect the Enabled check box next to the module, or click the Disable link next to the theme.

  3. Click the Save Configuration button.

  4. Find the old module or theme to be upgraded on the web server using some kind of file manager program.

    This may be through a control panel on your web host's site. If you’re comfortable using FTP, it will also work. For example, a module called Author Pane would be located in the Drupal directory at sites/all/modules/authorpane.

  5. Back up these old files by copying them to your desktop computer.

    The idea here is that you want to keep a copy just in case something goes wrong with your upgrade so you can restore the old files.

  6. After you make a copy of these files, delete the ones on your web server.

    Be extremely careful that you delete only the files inside the folder of the module or theme you’re upgrading.

  7. Delete the now-empty folder on your web server.

    For example, the authorpane folder was deleted.

  8. If possible, follow the steps in the “Automatically installing modules and themes” section. If you can’t install automatically, use the “Manually installing themes and modules” sections.

There's one last step. You need to run the update.php file.

blog comments powered by Disqus
Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win $500. Easy.