Drupal Documentation






Table of Contents

1. Preparations

Downloading Drupal engine

The first step of Drupal website setup is to download the Drupal engine. Drupal engine is a .zip package with Drupal content management system (CMS) core files. Without these files you won't be able to run the Drupal website.

Drupal engine can be downloaded from the official website at http://drupal.org/

Click the "Download Drupal" button to get the most recent version of Drupal engine. In case you need the earlier version of drupal please click "Other Releases" link

Please check the template requirements and make sure you are downloading the correct version of Drupal engine

Uploading Drupal engine files

As soon as you are done with Drupal engine download please extract the files from the downloaded engine package and upload them to your hosting server.

Drupal engine files should be uploaded into the root directory on your hosting server. It is usually called "www" or "public_html". If you are not sure please contact your hosting provider for more details.

The files can be uploaded to the hosting server using the FTP managers like FileZilla, TotalCommander etc. You can also check your hosting control panel if there is a File Manager available. It can also be used to upload files to the hosting server.

Feel free to check the detailed video tutorials on how to upload the files

Creating Database

Drupal CMS requires MySQL database to run. Database can be created using the hosting control panel. You can check the tutorial on how to create the database or contact your hosting provider to get help.

In the process of creating the database you'll get the database access details:

  • Database server or hostname
  • Database name
  • Database username
  • Password

Take a note of these details as you'll need them for Drupal installation

2. Drupal theme installation

This step shows how to install Drupal engine to your hosting server. Please follow this step if you don't have Drupal engine installed on your server.

Before you proceed please decide whether you want to install the template sample data or if you want to have a clean Drupal installation. Template Sample data will make your template look like the template preview page. All sample modules, text blocks, images etc will be installed.

If you are not willing to install the template sample data please proceed will Drupal engine installation. In your browser type your domain name and follow the instructions on the screen. The detailed text and video tutorial will help you to install Drupal engine.

Otherwise please proceed to the next step.

Installing Drupal theme with sample data

Most recent Drupal templates are provided with the sample data demo profile. It allows you to install the template sample data during the initial Drupal installation.

Sample data demo profile should be uploaded BEFORE you install the Drupal engine

To install the sample data profile please do the following:

  1. Upload the "sites/" folder from the template package to the root of Drupal installation. This folder contains Drupal theme files
  2. Upload the "demo_profile/" folder from the template "sources/" directory to the "profiles/" of your Drupal installation.
  3. Upload the "install.inc" file from the template "sources/" directory to the "includes/" directory of your Drupal installation. Replace the existing file.
  4. Upload the "system.install" file from the template "sources/" directory to the "modules/system" directory of your Drupal installation. Replace the existing file.

    Replacement of these files will add a new option to the installation process so it will not affect your installation in any way.

  5. Type your domain name in your browser's address bar to start Drupal installation procedure. The initial installation page will let you choose the installation profile.

  6. Select "Demonstration site". Then click "Save and Continue" button.
  7. Follow the instructions on the screen to install Drupal engine. Feel free to check the detailed tutorial on how to install Drupal with theme sample data
  8. On the last step of the installation procedure choose snapshot as shown on the image below and click "Restore" button:

  9. Drupal installation is almost complete. The last thing to do is to update the database tables. In your browser address bar type http://www.example.com/update.php (replace www.example.com with your domain name)

To login as website administrator use the following details: username: admin; password: admin123

Installing Drupal theme without sample data

  1. Upload "sites/all/themes/" folder content from the template package to the "sites/all/themes/" directory of your Drupal installation. This folder contains Drupal theme files
  2. Open Drupal website and login as an administrator>
  3. From the top menu select "Appearance".

    Locate your installed theme and click "Set as Default"

Theme is activated now and you can proceed to the modules setup

3. Installing Drupal theme over existing website

Installing Drupal theme WITH sample data over existing website

Installing the theme sample content over the existing Drupal installation will erase all your website content and replace it with the sample one

ALWAYS backup your database before performing any modifications

If you have a running Drupal website and still want to install the theme with sample data please follow the instructions below:

  1. Open the template package and go to the "sites/" folder. Open "all/" folder and upload its content to the "sites\all" directory of your Drupal installation
  2. Go back to the "sites/" folder. Open the "default/" folder and upload its content to the "sites/default" directory on your server. DO NOT upload the "settings.php" and "default.settings.php" files.
  3. Login to Drupal website as administrator, go to "Modules" and make sure the "Demonstration site" module is enabled
  4. Go to "Structure -> Snapshots" page, select snapshot "theme764" and click the "Reset" button.

The last thing you need to do is to update the database tables. In your browser address bar type http://www.example.com/update.php (replace www.example.com with your domain name)

To login as website administrator use the following details: username: admin; password: admin123

Installing Drupal theme WITHOUT sample data over existing website.

If you already have a running Drupal website and want to install the purchased theme you just need to upload the theme files and activate the theme in Drupal administration panel. The procedure is similar to the regular Drupal theme installation.

4. Blocks Layout Configuration

To configure theme blocks layout you need:

  1. Login to Drupal website as administrator
  2. From the top menu select "Structure" and go to "Blocks" section

  3. On the opened page you can drag&drop blocks to the different regions.

5. Blocks appearance settings and content editing.

Please open Structure -> Blocks menu to change blocks appearance settings.

On the opened page you will see all blocks arranged by the corresponding regions. Click "Configure" button which is placed to the right of the corresponding block name to access block settings page.
You can use Drupal contextual menu feature to access block settings page from the front-end.

Note: you should be logged in into the admin panel!

Hover needed block with, click on the appeared "gear" and select "Configure Block".

Content of standard (default) blocks like "Recent blog posts", "Who is online", "Polls" block can’t be changed, since it’s pre-defined by Drupal CMS creators. The exceptions are custom blocks, third-part modules blocks and blocks created using Views module.

There are two ways of editing content of blocks based on the Views module.

  1. Please go to Structure->Views menu. On the opened page you will see all available views. Click "Edit" button in the last column to access corresponding view’s settings page.
  2. Note: each particular view is not always a block. Views that have "Displays: Block" field are available as Blocks. You can find such Views on the Blocks page basing on the Block name. For example, block created using Views will be entitled "Views : Name block", e.g. "View: Services".

  3. You can use Drupal front-end contextual menu feature for quick access of Views settings. Hover needed block, click on the appeared "gear" and select "Edit View".

Feel free to check the detailed video tutorial below:
http://info.template-help.com/help/drupal-7-how-to-accessedit-blocks-views-and-panels-from-front-end.html

6. Setup and manage Main Menu

Drupal 7.x comes with a menu management panel, which makes the process of configuration of your site navigation very easy and flexible. With this panel you can even add your own menus.

To edit the menu items just click List menu.

For more info on Drupal menu configuration, check http://drupal.org/node/754652

7. How to configure Follow Site block

Please go to Configuration->Web Services->Site follow links menu to configure Follow Site block. Please follow the instructions on the opened page.

Feel free to check the detailed video tutorial below:
http://info.template-help.com/help/drupal-how-to-edit-social-icons-block-follow-module.html

8. How to edit slider

The slider in Drupal theme is created using the custom content type "Slider" and tirdparty modules. Each slide is a Node with Slider content type.

Edit slider

  1. Login into Drupal as administrator
  2. From the top menu select "Content"
  3. We recommend you to use the search filter to locate the slides faster. Select type "Slider" and click the "Filter" button.

  4. In the popup list click "edit" link to edit the slide or "delete" to remove it
  5. The slide can be modified like any other node. You can change the image, title etc

Add new slide

  1. Click "Add Content" link at the top of the Content page
  2. From the popup list select "Slider"
  3. Input title, content and the slider image

Slider module settings

To get access to the slider module settings there are two directions you can follow

  1. Login as administrator
  2. Go to the Slider page
  3. Hover mouse cursor over the slider. In the top right corner of the slider you should see the gear icon
  4. Click the gear icon and click "Edit View"

The other way is to use the Drupal admin panel top menu

  1. From the top menu select "Structure"
  2. In the popup list select "Views"
  3. At the Views page locate "Slider" and click "Edit"

All slider settings are available from the Format > Settings link.

We do not recommend you to change the settings if you are not sure what to do

9. How to manage the content pages

To create the complex content pages we used the Panels module. In a Panel, you can create contexts, which represent the objects being displayed.

How to add new page

  1. Login as an administrator
  2. From the top menu select "Structure" and click "Pages" item
  3. On the appeared page click "Add custom page" link
  4. Then you need to input page "Administrative title" and specify the page root. Click "Continue"
  5. Select category and layout. Click "Continue"
  6. Select "Renderer" and add CSS classes if you need. Click "Continue"
  7. At the Panel Content page you can define the blocks that will be displayed on the page. Click "Finish"
  8. You will see the settings page that allows you to configure it the way you need
  9. With that done click "Save"

How to edit the page

  1. Login as administrator
  2. From the top menu select "Structure" and click "Pages" item
  3. You'll see the settings page that allows you to configure it the way you need
  4. With that done click "Save"

10. Conclusion

Feel free to check the detailed tutorials and manuals on working with Drupal:

theme764