We have a working module. Now we need to install it. This is typically done in three steps:
1. Copying the module to the correct location
2. Enabling the module
3. Configuring Drupal to display the module's content
Note
Some of the contributed modules for Drupal require additional setup steps. Such steps are documented by the module's authors. In Chapter 4, we will create a module that requires a few additional steps before the module is useful.
We will walk through each of these three steps.
Modules in Drupal are stored in one of the three places under Drupal's root directory:
modules/:
This is the directory for core modules. Only modules supplied as part of the Drupal distribution should be stored here. None of our modules will ever be located here.sites/all/modules/:
This is the directory for modules that should be available to all of the sites hosted on this Drupal installation. Usually, this is where you want to put your module.sites...