Drupal 7

Installing a Module in Drupal 7 

  1. After finding a module that you would like to install, download it to your local computer. 

  2. Log into the Drupal 7 Dashboard 

  3. Go to Modules 

  4. Click Install New Module 

  5. Click Choose File and select the module you downloaded to your local computer 

  6. Click Install 

  7. Now, if you want to enable the new module, click on the link Enable newly added modules 

  8. Scroll down, find the desired module, and place a checkbox next to it to enable the module. 

  9. Click Save configuration 

  10. If you need further assistance please feel free to ask a question on our support center. 

Drupal 7: Technology Stack 

Server 
A server is a computer which provides information or services to other computers on a network. 

Operating system 
The operating system is the software that runs the server. Unix, Linux, BSD, OS X and Windows are some examples. 

Database 
A database is a structured collection of records. Drupal uses a database to store most content and configuration settings for your site, some content such as media files are generally stored in the server's file system. Examples are MySQL and PostgreSQL. 

Web server 
The web server is the software component responsible for serving web pages. Examples are Apache and Microsoft IIS. 

PHP 
PHP is a programming language that allows web developers to create dynamic content that interacts with databases. To communicate with the databases the necessary database drivers (e.g., PDO_MYSQL) must be enabled. To process images certain libraries (e.g., GD) must be enabled as well. 

Drupal 
Drupal is a framework for building dynamic web sites offering a broad range of features and services including user administration, publishing workflow, discussion capabilities, news aggregation, metadata functionalities using controlled vocabularies and XML publishing for content sharing purposes. A Drupal installation is generally comprised of a mix of core and contributed modules. 


Add a Field to a Content Type in Drupal 7 

  1. Navigate to the Content types page (Administer > Structure > Content types). 

  2. In the table, locate the row that contains your content type and click the MANAGE FIELDS link. If you can't find the MANAGE FIELDS link, be sure to enable the Field UI module. 

  3. In the Add new field section, enter a label for the field. 

  4. In the Field name field, enter the machine name for the field. You can only use numbers, lower-case letters and the underscore character (_). The node that the machine name is automatically generated and it is not necessary that it be changed. 

  5. In the field type list, select one of the field types. Note that more fields such as 'Date' and 'Location' can be added using Drupal modules. 

  6. In the Widget field, select a widget. The options vary depending on the field type. 

  7. Click Save. 

Field Types 
  • Text 
    short text such as a name (limited to 255 characters) 
  • Long text 
    long, multi-line alphanumeric text such as a biography 
  • Boolean 
    has one of two values (for example: "yes/no" or "true/false" or "small/large") 
  • List (text) 
    select from a list of text options (which can be formatted as either a drop-down list or checkboxes) 
  • File 
    reference to a file (such as a PDF) on the Drupal file system 
  • Image 
    reference to an image file such as GIF, JPG, PNG on the Drupal file system 
  • Term reference 
    reference id to an existing Taxonomy Term (or tag) 
  • Integer 
    a whole number, such as a year (e.g. 2012) or value (e.g. 1, 2, 5, 305); it does not allow decimals. 
  • Float 
    a number that can use decimals, such as 0.0123456789 
  • Decimal 
    a number that allows exact decimal values; often used for price or cost (such as $199.99) 
  • List (float) 
    select from a drop-down list of floats 
  • List (integer) 
    select from a drop-down list of integers 
  • Long text and summary 
    same as long text, but with an additional summary text