How to install a module in Drupal

Updated on Dec 10, 2015

It is important to generate a full backup of your Drupal website before any new installations or major changes on it. This way, if something goes wrong with your website, you will always have a working copy that can be restored. This is a good practice, which will allow you to edit and manage your Drupal installation without worrying that it may get corrupted.

Create a Backup

It is recommended to create Drupal backup, before making major changes on your website. This allows you to restore it to a fully operational state if something goes wrong.

This tutorial will review the process of installing a new module on your Drupal website. If the core Drupal installation is missing a functionality that you need, it is always possible to find a module that may provide just that.

The module installation in Drupal includes three steps:

step

Find a Module

The best place to find Drupal modules is the official website of the script. It has a dedicated modules section that you can review for a module that will extend the functionality of your website the way you need. When you find one that you want to use on your website, make sure that you download the module for the Drupal version that you are running on your account.

In our case, we have decided to download Views module for Drupal 7. The download link for Drupal 7.x is available at the bottom of the page.

Download a module in Drupal

step

Install a Module

Once you download the module on your local computer, you need to install it on your Drupal website. Then you need to log into your website as administrator and click on the Modules tab from the main menu.

Access Modules menu in Drupal

Click on the Install new module button at the top of the page.

Install a new module in Drupal

Upload the module via one of the following two options:

  • Install from a URL: You can simply enter the URL to the download page of the module.
  • Upload a module or theme archive to install: Upload the downloaded archive of the module.

Upload module package for installation in Drupal

step

Activate a Module

You need to access the Modules tab from the main menu again and locate the new module/s on your website. Check the Enabled box next to the modules that you wish to enable.

Activate a module in Drupal

Scroll down to the bottom and click on the Save configuration button.

On this page...

    Drupal Hosting

    • Free Drupal Installation
    • 24/7 Drupal Support
    • Free Domain Transfer
    • Hack-free Protection
    • Fast SSD Storage
    • Free Drupal Transfer
    • Free CloudFlare CDN
    • Immediate Activation
    View More