It is entirely possible to run a very successful Drupal website out of the box without adding any third-party modules. However, this approach is limited, and your needs may grow out of the built-in core functionalities. With just a few additional modules, the functionality of your site can be significantly expanded.
In this recipe, we will first see how to install the Link module from the Drupal.org
website, followed by how to activate and configure it. The Link module adds a Link field to the list of available fields that can be used to create new content types.
1. Go to http://drupal.org/project/link.
2. Examine the available releases of Link, and find the most recent Drupal 7 release; copy the URL for the
tar.gz
file.3. In Drupal, select Modules from the admin menu, followed by Install new module.
4. Paste the URL into the Install from a URL field and click on Install.
5. After the module is installed, select Enable newly added modules.
6. Look through the list of installed modules for the FIELDS fieldset. Select the checkbox for Link.
7. Click on Save configuration to finish:
We begin by going to the project page for the module we are installing. In this case, the Link module. We then look for the most recent recommended release of the module.
Note
On the module's page it is likely that there will be two releases for both the Drupal 6 and Drupal 7 versions of the module. The files with the green background are the recommended releases. Be sure to use this version wherever possible. Sometimes there will only be an alpha or development release; try to get the highest version number.
After copying the link to the module's file, we go to the module installation page, and paste the URL to the module's file, and click on Install. Drupal then copies the file to the server, and extracts it into its own directory in the modules
folder of the site.
After the module has been copied, we go back to the modules list, and enable the newly installed module by checking its checkbox and clicking on Save configuration to finish.
There are more ways to install modules in Drupal. It's up to you to decide which method you prefer, but some other methods are described in the following sections.
Running commands with the Drush tool recipe in Chapter 12, Running Drupal