Facing problem of proper Drupal module installation? If you are looking this solution then this page is much much important for you. Drupal is a popular CMS for creating and maintaining a website. The core Drupal is nice but we can use Drupal’s modules to enhance the functionality of Drupal core. Each module has its own functionality. For example, CAPTCHA module is used to prevent spambots of all types, Wysiwyg module is used for allowing client-side editors to edit content and so on. Thousands of modules are available. To use any of the modules, you must have to use that module and need to install. Installation of Drupal module is easy but a little trick. Lots of websites and tutorials are there to install any modules. I still remember, when I started using Drupal, I need much time to learn how to install a module properly to a Druapal website. In this page, I would like to tell you the details about installing a Drupal module for your Drupal 7 or Drupal 8 website.
Requirements:
- Drupal Installed website (Drupal 7 / Drupal 8)
Extra Modules:
- Any Drupal 7 / Drupal 8 module
How to install a Drupal module for your Drupal website?
Installation of Drupal module is a little bit hard or difficult at the first time of any new Drupal website owner. Following the steps below, you could easily install any Drupal module easily and perfectly:
Step 1: At first, you have to figure which module is actually you are in need for your Drupal 7 / Drupal 8 website. To find this answer, you have to think the need of your website. When you find the need of your website, then go to this link and find the module that you are in need. To search the best fittest module of your website, you have to choose / specify the version of the module you are in need. For example, we need to find a module of preventing spambots for our website. So, we go there and search there and find CAPTCHA may be the desired module for our website.
Step 2: The second step is to Choose the right release. After choosing a module to add to your Drupal 7 or Drupal 8 website, you must choose which release to use. The version must be compatible with your version of Drupal. Note that 'Development releases' are versions of the module that are in an active stage of development. They may be written for a previous/current/future version of Drupal, are considered unstable, and should be handled with care. are stable and ready to use. We always, choose the 'Recommended releases' for any module.
However, if you have not any recommended release, try to use from other release or form 'Development releases' .
For example, we would like to CAPTCHA module, and so go to the CAPCHA page and see which version of module does support for your Drupal 7 or Drupal 8 website. After choosing that we download that module.
Step 3: Now, we need to upload the module of our website to use that. To do this, we firstly have to extract the files which we have downloaded in step 2 using 7-zip to extract the files. On modern Mac systems, double-click the .tar.gz file. For *nix systems, use the command line:
tar -zxvf modulename-drupalversionnumber.tar.gz
Now, we have to star transferring the files with SFTP or FTP to the desired modules folder of Drupal website.
Remember, to upload the files to the exact location is really matter. So, always try to remember, Drupal installation is reserved for Drupal core modules (the ones that come with the original download of Drupal). Contributed modules belong in sites/all/modules. We are trying to add a contribute modules and so it belongs to the location sites/all/modules.
After completing upload, you are ready to use that module after enabling that module. After uploading our example module, the file location will be the following:
Following the above steps, you can easily install any module for your Drupal 7 or Drupal 8 website.
Sometimes, a website may have lots of moudels and in this case you may arrange all the modules in a way according to your wish. One typical way of doing this would be:
sites/all/modules/contribfor all contributed modules.sites/all/modules/customfor all custom modules.sites/all/modules/featuresif you have additional modules that were created using Features.