Pages

Friday, February 28, 2014

How to Uninstall a Drupal 7 Module

This tutorial will show you how to uninstall a module from your Drupal 7 site.
In this example, we're going to show you how to uninstall the Devel module. Devel is very useful for developing a site, but should be uninstalled before going live.

Step #1. Uninstalling the module

Go to the Modules screen and click Uninstall in the top-right corner.
media_1379610546915.png
Here you'll see a list of modules that can be uninstalled:
media_1379610595793.png
At the moment, Devel is not in this list. If you don't see the module you want to remove in this list, go back the Modules page and disable the module.
Sometimes, if the module consists of multiple parts, you may need to disable several parts. In this case, you'll need to disable Devel generate and then Devel generate:
media_1379610676311.png
Now I click Uninstall again and Devel is available to uninstall.
media_1379610824220.png
Check the box for the module you want to uninstall. As with disabling the module, you may need to uninstall one before you uninistall the others.
media_1379610883209.png
Click Uninstall.
Click Uninstall again to confirm you really want to delete it.
media_1379610910152.png

Step #2. Deleting the files

The process in Step 1 uninstalls the modules, but doesn't delete the files.
To fully remove a module, you will need login to your site's files and browse to /sites/all/modules/ to delete the files:
media_1379611125705.png

No comments:

Post a Comment

Thanks for your comment.