0% found this document useful (0 votes)
7 views24 pages

Drupal

This document provides a comprehensive guide for installing and setting up Drupal, including system requirements, downloading the software, and configuring the installation process. It also covers creating menus, blocks, front pages, and static pages within Drupal. Each section includes step-by-step instructions to facilitate the setup and management of a Drupal website.

Uploaded by

Pace Infotech
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views24 pages

Drupal

This document provides a comprehensive guide for installing and setting up Drupal, including system requirements, downloading the software, and configuring the installation process. It also covers creating menus, blocks, front pages, and static pages within Drupal. Each section includes step-by-step instructions to facilitate the setup and management of a Drupal website.

Uploaded by

Pace Infotech
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

This chapter provides step-by-step procedure for Drupal installation.

Before
installing Drupal, the following system requirements are necessary.

System Requirements for Drupal


 Database − MySQL 5.1 +

 Web Server −

o WAMP (Windows)

o LAMP (Linux)

o XAMP (Multi-platform)

o MAMP (Macintosh)

o Nginx

o Microsoft IIS

 Operating System − Cross-platform

 Browser Support − IE (Internet Explorer 8+), Firefox, Google Chrome, Safari,


Opera

 SSL (Secure Socket Layer) − A valid security certificate is required for HTTPS

 PHP Compatibility − PHP 5.2+

Download Drupal
Step 1 − Download the Drupal and copy to your web server from this link
− https://www.drupal.org/project/drupal

Step 2 − Select the latest version of zip file which you want to download as
shown in the following screen. The Recommended releases are the latest
stable releases of either version.
Setup Wizard
It's very easy to setup Drupal on your system. The following steps describe
how to setup Drupal locally on your system.

Step 1 − Download the zip file and extract it to your local computer.
Rename the folder from its current name to any name of your choice to
refer to your site.

Step 2 − Drupal requires MySQL database. Create a new empty database


with user/password for Drupal to use. (For e.g., user as "root" and
password as "root" or else you can set as per your choice).

Step 3 − Open your browser and navigate to your Drupal file path, you will
see the first Drupal installer screen as shown in the following image. In our
case the path is localhost/< Your_drupal_folder >. Select
the Standardoption and click Save and continue.
Step 4 − Select the default language for Drupal website.
After selecting the language, click Save and continue.

Step 5 − Go to Database configuration page. You need to enter the type of


database you will be using, and other details as follows.
 Database Type − Select the database type. By default, it will be MySQL.

 Database name − Enter the database name for Drupal.

 Database username − Enter the user name of your MySQL database.

 Database password − Enter the password which you had set for MySQL
Database.

When you click the ADVANCED OPTIONS, you will see the following
screen −
You can fill the advanced options for the database −

 Database Host − Enter the host name where your database is located.

 Database port − Enter the database port.

 Table Prefix − It is used to add prefix in the database tables, which helps to
run multiple sites on the same database.

After filling all the information, click the Save and continue button.

Step 6 − The installation process starts on your machine.


Step 7 − The Configure site page appears on the screen −
It contains the following fields −

 Site name − The name that you want to give to your site.

 Site e-mail address − The e-mail address to which automated e-mails will be
sent.

 Username, Email-address and Password − These are all administrative


details used for the maintenance account.

You need to enter all these fields and click Save and continue.

Step 8 − The following page indicating that your Drupal installation is


successful will appear on your screen.
Step 9 − Click the Visit your new site link as shown in this image.
Step 10 − Finally, the newly installed Drupal homepage appears on your
screen as seen in the preceding image.

Drupal - Main Menu


In this chapter, we will study how to Create Menus in Drupal. Menus are
very important to easily navigate in your website. Menus offer a set of links
that helps you navigate. The Drupal menu allows you to add, remove and
rename the menus and menu items.

Following are the simple steps to create menus in Drupal.

Step 1 − Click Structure → Menus as shown in the following screen.


Step 2 − Click on Add menu option to add menu.

Step 3 − Fill in the required details as shown in the following screen.

 Title − It displays title in the Administrator Menu bar.


 Description − Enter a brief description about the menu. The description field
will display only in the admin dashboard under the menu list, but it does not
display any information to site visitors.

After filling all the information about the menu, click on Save button to
save your created menu bar.

Step 4 − Once you save the menu bar, the following screen will get
displayed. Here you have to define the path link to your created menu
page. Click Add link as shown in the following screen.

Step 5 − The created Menu 1 page gets displayed as shown in the


following screen.
It contains below fields −

 Menu link title− Specify the name of the menu item.

 Path − Specify the URL path of the page which you want to display.

 Description − Description about the menu link.

 Enabled − It enables the item to display on menu.

 Show as expanded − If it consists of sub menus, then it will be displayed


under the parent menu item.

 Parent Link − It sets the main structure of menu.

 Weight − Sets the order of menu items.

After filling all the information about the menu link, click the Save button,
this will save your Menu link.

Step 6− Now the following screen pops up.

Step 7 − Click Structure → Menus to get the following screen.


Here, you will see the created Menu 1 name in the list of Menus.

Drupal - Blocks & Regions


In this chapter, we will study about Drupal Blocks & Regions. Blocks are
container objects that are used to organize your content of your website. It
can be displayed in the regions on your page.

Following are the simple steps for creating Drupal Blocks.

Step 1 − Click Structure in Drupal as shown in the following screen.

Step 2 − Then, click Blocks.


Step 3 − Blocks page gets displayed. Click Add block.

Step 4 − A block page will gets displayed to create a new custom block as
shown in the following screen.
The following fields appear on the Blocks page.

 Block Settings

o Block title − Enter the title for your block.

o Block description − Enter the description about block.

o Block body − Enter the content of the block.

o Text format − Select the format for your text i.e. Filtered HTML, Full
HTML, and Plain text.

 Region Settings

o Bartik (default theme) − Select the region to display block in the


theme.
o Seven (administration theme) − Select the region to display block in
the administration theme.

 Visibility Setting

o Page − Allows displaying blocks on all or specific pages.

o Content Types − Allows to display the blocks in specific content, i.e.


Article or Basic Page.

o Roles − Allows displaying the blocks for specific types of users, i.e.
anonymous user, authenticated user, or administrator user.

o Users − Allows each user to customize the visibility of block in their


settings.

Now, click the Save block after filling all the fields.

Step 5 − You can view the created block as shown in the following screen.
Drupal - Front Page
In this chapter, let us study how to create Front Page in Drupal. If you
have good content on your website and expect your visitor to see that
particular content first, then that article must be on the front page. Drupal
provides solution for this.

Following are the simple steps used for creating Drupal Front Page.

Step 1 − Click Content as shown in the following screen.

Step 2 − A list of articles and pages pop up on screen. Click edit link as
shown in the following screen.
Step 3 − Then, click Publishing option and check mark all the boxes as
shown in the following screen.

Following are the functions of the checkboxes on the page −


 Published − Publish your page or article by marking the check box

 Promoted to front page− Promote your page or article, to the front page of
your website.

 Sticky at top of lists− Fixes your page at top of lists on your site.

Click the Save button to save the changes.

Step 4− You will see your page on the front page of your website similar
to the following screen.

Drupal - Static Pages


In this chapter, we will study about how to create Static Pages in Drupal.
Let's add some static pages named About Us and Services. The main
purpuse for using a static pages is speed and steadiness. Static websites
are more faster than a dynamic site.

Following are the simple steps to create static page.

Step 1 − Click Content --> Add content link.


Step 2 − Click on Basic pages.

Step 3 − Create basic page will get displayed as shown in the following
screen.
Following are the details of the fields present in the above screen.

 Title − It specifies the title of the static page.

 Body − It displays the body content of the page.

 URL path settings − You can specify alternative URL by which content can be
accessed.

Note − Don't add slash at the end or beginning of the URL alias or else it
will not work.

You can see about-us URL path has been added under URL alias heading.
The process is same for both About Us and Services static pages, only the
content will be changed as per the demand.

You can click Publishing options and check the box of published option
to publish your page.

Step 4 − Click on About Us tab, you will see the created about us page as
shown in the following screen.
Step 5 − Click the Services tab, you will see the created services page as
shown in the following screen.

You might also like