Notification texts go here Contact Us Buy Now!

How to install and uninstall a module in Drupal CMS?

Drupal Modules are great way to extend your Drupal website How to install and uninstall a module in Drupal CMS?
Drupal Modules are great way to extend your Drupal website. A Drupal module is a collection of files containing some functionality and is written in PHP. It can be installed and uninstalled. In this post, we will see how to install Drupal modules the standard way and to uninstall Drupal Modules.

How to install modules in Drupal?
There are basically three common ways to install Drupal modules which is popular, besides using "drush". One can install Drupal Modules by either of the following ways:

  • Install Drupal Modules from FTP
  • Install Drupal Modules by uploading downloaded zip/tar files
  • Install Drupal Modules by unpacking downloaded zip/tar files in the sites/all.modules directory and then enabling the modules from the admin's modules page.
The standard way is to install modules from the "Modules" page. In the modules page, the list of modules are displayed, some are enabled and some are disabled. In the same page we have the "Install a new module" link, from which we can install new modules. 

There is no "install a new module" link on the Drupal Modules page?
If you do not see a link which says "Install a new module", enable the following module - "Update Manager". It should be available in the list as it is include in Drupal Core by default, but may be disabled. 

Drupal Modules are great way to extend your Drupal website How to install and uninstall a module in Drupal CMS?
  • Login as admin and navigate to "Modules" page
  • From the list of modules,enable the "Update Manager" module. 
  • After enabling the "Update Manager" module, you should have a link called "Install a new module". 
  • Click on it and upload the module if you have downloaded it or provide the FTP link to the module to install. 
  • After installing, activate the module. While activating the modules, check the dependencies.

Drupal Modules are great way to extend your Drupal website How to install and uninstall a module in Drupal CMS?


How to uninstall Drupal Modules?
Deactivating Drupal Modules and Uninstalling are different things. While we can deactivate Drupal Modules if not in use and reactivate the same modules when required, uninstalling the modules will remove the modules and the module files. If the uninstalled modules are required again, the same have to be installed as discussed above. 

To disable a Drupal Module:
  • Login as admin and navigate to "Modules" page
  • From the list of modules, disable the module intended by unchecking or if you are using, modules filter, click to turn it off.
  • Save configuration
To uninstall a Drupal Module:
  • Login as admin and navigate to "Modules" page
  • In the modules page, click on the "Uninstall" tab
  • Check the module to uninstall and click "Uninstall".

Drupal Modules are great way to extend your Drupal website How to install and uninstall a module in Drupal CMS?
  •  Confirm the module uninstall
Drupal Modules are great way to extend your Drupal website How to install and uninstall a module in Drupal CMS?

The module files should also have been deleted from the "site/all/modules" directory. If not, it can be manually deleted. 


إرسال تعليق

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.