drupal-7

Topics related to drupal-7:

Getting started with drupal-7

This section provides an overview of what drupal-7 is, and why a developer might want to use it.

It should also mention any large subjects within drupal-7, and link out to the related topics. Since the Documentation for drupal-7 is new, you may need to create initial versions of those related topics.

Drupal is written in PHP with a great deal of JavaScript (mostly using the JQuery library) for the front-end experience, and it uses a database such as MariaDB/MySQL or PostgreSQL to store both content and configuration.

Implementation

To begin building any Drupal website, you first need to install Drupal. Many different combinations of operating systems (Linux, Windows, Mac OS X), web servers (Apache, IIS, Nginx), and databases (MariaDB/MySQL, PostgreSQL, SQLite) support Drupal.

Drupal Folder Structure

  • includes - This folder contains include files shipped with Drupal 7. These inc files are majorly the Drupal 7 APIs. For example - batch.inc, cache.inc, ajax.inc etc. This folder MUST not be used for any custom development or keeping custom inc files.

  • misc - This folder contains miscellaneous JavaScript and Images used by Drupal 7. This folder MUST not be used for keeping any JavaScript/Images used by website.

  • modules - This folder contains all the default modules shipped with Drupal 7. This folder MUST not be used for keeping any custom/contributed modules. There is a separate place available for keeping custom/contributed modules, explained in this documentation later.

  • profiles - This folder contains the default installation profiles shipped with Drupal 7. For example - Minimal, Standard etc. These profiles are selected while installing Drupal 7. Profiles are the combination of Themes, Modules and Configurations by default available after installation. This folder can be used for development of custom profile.

  • scripts - This folder contains default shell scripts shipped with Drupal 7. For example - Password Hash Reset script, Drupal shell etc.

  • sites - This folder is used for keeping files any website specific files. For single and multisite setups both, this folder is used for the purpose. This folder by default contains two folders i.e. all, default.

    • all - This folder should be used for keeping any custom/contributed modules/themes/files which can be used by all the sites available in the Drupal installation.

    • default - This folder should be used for keeping custom/contributed modules/themes/files which can be used by the default site of the Drupal installation.

    For other sites multiple folder can be created in sites folder.
    
  • themes - This folder contains all the default themes shipped with Drupal 7. This folder MUST not be used for keeping any custom/contributed themes.