Drupal
Drupal
Before
installing Drupal, the following system requirements are necessary.
Web Server −
o WAMP (Windows)
o LAMP (Linux)
o XAMP (Multi-platform)
o MAMP (Macintosh)
o Nginx
o Microsoft IIS
SSL (Secure Socket Layer) − A valid security certificate is required for HTTPS
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 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.
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.
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.
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.
You need to enter all these fields and click Save and continue.
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.
Path − Specify the URL path of the page which you want to display.
After filling all the information about the menu link, click the Save button,
this will save your Menu link.
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 Text format − Select the format for your text i.e. Filtered HTML, Full
HTML, and Plain text.
Region Settings
Visibility Setting
o Roles − Allows displaying the blocks for specific types of users, i.e.
anonymous user, authenticated user, or administrator user.
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 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.
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.
Step 4− You will see your page on the front page of your website similar
to the following screen.
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.
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.