How to upgrade a Drupal Module

How to upgrade a Drupal ModuleIn this article we will show you how you can upgrade a Drupal Module. Drupal as you must be knowing is one of the best Content Management System (CMS) that powers some of the worlds best website. Drupal Modules are often third party extensions (approved by Drupal) that enable extra functionality for the website. In our example we will show you step by step as how you can upgrade the famous Google Analytics module, which lets you track visitors and stats for your website. The process for upgrading a Drupal module is exactly similar to the example we will demonstrate here.

Before upgrading, make sure you backup your Drupal site. You can backup the site files by simply making a copy of them on your local hard drive via FTP etc. For backing up the database, you can use Drupal's Backup and Migrate modules, for which we included step by step instructions on how to backup and migrate your site here.

Here is the step by step procedure on how to upgrade a Drupal module, we assume here that you are running version 6.x or better of Drupal CMS

1. Go to http://yoursitename.com/admin/reports/updates , you will need to log in as admin. This page will tell you which modules are out of date and need upgrading

log in as admin. This page will tell you which modules are out of date and need upgrading

2. In our example it shows that Google Analytics module on our test site is out of date, it tells you the recommended version of the module and its release date. The same page also provides you with a download link for the module

In our example it shows that Google Analytics module on our test site is out of date

3. Click on the Download link, save the file. Notice that the file is compressed as tar.gz, you will need a program like 7Zip to decompress the file and explode it, when you decompress the file, it creates a folder called google_analytics

Click on the Download link, save the file. Notice that the file is compressed as tar.gz

4. Now go to your http://yoursitename.com/admin/build/modules page and disable the module you are upgrading by unchecking it and clicking save configuration

disable the module you are upgrading by unchecking it and clicking save configuration

5. Connect to your website and then delete the particular module's (in our case Google Analytics) directory on your site. This is typically located in /sites/all/modules directory

Connect to your website and then delete the particular module's (in our case Google Analytics) directory

Reply to comment | IndiaWebSearch.com

І am not sure where you're getting үour information, howеver great topic. I must sρend a whilе learning more or working out more. TҺanks for ɡreat info I used to be looking for this info for my mission.