How to Install Drupal Module Correctly


It's perfectly accepted that you hope for to add a virgin Drupal module to your site. And Drupal has prepared this fashion exact easily. However due to abridgement of the scholarship of Drupal case structures, the module is installed in the counterfactual way, which augmentation the approaching preservation value of your site. In below, we testament chalk talk approximately how to install drupal module properly.

Download Drupal Module Source Code

In aligning to install a module, you will committal to download the source code, and unzip it. The best kind abode to good buy the 3rd assemblage module is in Drupal certified site: http://drupal.org/project/Modules, there are vast data of for love and handy modules you can application to setup a able lacework site.

Upload Drupal Module Source principle to Correct Directory

Then, we come to the most leading course - unload the rule to the licence directory. What the "correct directory" here means?

Drupal can identify the dewy module provided you upload the source regulation to one of the below directories:

-{Drupal}/modules/

-{Drupal}/sites/all/modules

-{Drupal}/sites/{site}/modules

And everyone of above directory has its own purpose.

As a elite familiarity in using manage source project, it would be bad to conserve all the customized statute to one levy and don't touch all the core edict the airy source projects hold developed. This will abundantly lessen your perpetuation valuation when upgrading your code to adjacent version. For Drupal, the centralized directory for customized decree is {Drupal}/sites.

For directory {Drupal}/modules/, this is the district to area the Drupal core file, all the more you can install your module there, we would adoration reccomend you not to arrange it.

And for {Durpal}/sites/, whether you desire this module can be used by all the sites you host in your Drupal instance, it would be deluxe to field the module source law to {Drupal}/sites/all/modules. And the module installed in {Drupal}/sites/{site}/modules will be isolated available in the particular site.

Active Drupal Module

You can pep Administrator->Site Building->Modules, analysis the the module you conscientious install and save the configuration to active it.

Now, you should be able to operate the current module now.

Requirement to establish up a drupal site, boast the boss drupal hosting with plentiful Drupal installation tutorials from the recognized affordable net hosting directory
Comments: [0] / Post comment:

Keywords:

module, drupal module, module source, module correctly, install module, module installed, module adoration, module requirement, module conscientious, module drupal