DRUPAL

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

 Content is stored as a node in the database

 The Block Layout enables the developers to place blocks on the page for better
visibility for certain sections of the page.

 Drupal is Platform Dependent. FALSE

 You’d like to create a block content on your home page. Which item in
structure menu would you click? Block layout
 In Drupal, permissions are assigned to – content
 How Drupal weight functions?- randomly
 What language is used in Drupal? – php
 Default Storage Engine used in Drupal8?- innodb
 Which of the following is not a conceptual layer in Drupal?- pages
Data, module, blocks n menus, user permission, themes and templates.

 In Drupal conceptual layer in Drupal content is called node? F


 Drupal provides a WYSIWYG editor by default.— F

 Which of the following can be categorized as Administrative task in


Drupal?

 logging and reporting

 version control

 polls

 search
 Does Drupal enable search engine friendly URLs? True
 Which of the following are the key characteristics of Drupal?- both
 An Authenticated user should be able to edit or delete the published
content.- true
 Contributed Themes in Drupal?- all
 The tasks that CRON can perform are – all

This study source was downloaded by 100000839484608 from CourseHero.com on 01-20-2022 00:42:43 GMT -06:00

https://www.coursehero.com/file/53632957/DRUPALdocx/
 New fields to user profiles can be added from administrative interface.-
true
 Drupal quiz modules- all (slick, filed. Alexa)
 By default, which of these blocks are displayed on a Drupal site front
page? Search
 Custom Breakpoints cannot be created in drupal8- true

 A way of positioning data in a page is called _________? block



 are used to display content as a page.- true
 In Drupal, roles can be assigned to users through – user**/ permission
 features are enabled by default in Drupal?- blog
 elect the system requirement for installing Drupal 8.- all
 Can Drupal run on command line using DRUSH? True
 Custom Breakpoints cannot be created in drupal8- true

 What option you have to choose to place a block to the left side of your
home page? Sidebar first
 While Adding Menu items, weight determines- css

 Creating a Database before installing Drupal is Mandatory?


 true
 wiki

 blog

 chat

 sitemap
 --- wiki
 Views are used to display content as a page. – true
 Drupal integrates well with external search engines such as Xapian,
Apache solr for the search function. –
 user roles are available in Drupal?- administrator

 In Drupal each item of content is called node? - true
 Using the Views module, you can fetch content from the database of
your site and present it to the user as lists, posts, galleries,etc.. – true
 You can assign a menu tab in front page for a existing content by
providing URL. – true

This study source was downloaded by 100000839484608 from CourseHero.com on 01-20-2022 00:42:43 GMT -06:00

https://www.coursehero.com/file/53632957/DRUPALdocx/
 After successfully adding the taxonomy term where would you add fields
for reference Taxonomy terms? Content types
 Select the system requirement for installing Drupal 8. All
 Which of the following features are enabled by default in Drupal? – blog
 Which of the following are Contributed Themes in Drupal?-
 Which option would you select for promoting content to the front page?-
promotion/ menu

 Drupal is one of the best examples of a content management tool, which is


a Content Management Framework and not a CMS.
 Like any CMS, even Drupal stores data in the database and displays on the site.
It also expands functionality and integrates with third-party applications.
 It is based on LAMP stack, with the ability to add features using modules, and
customize the look and feel using themes.
 It offers a number of tools for content authoring and collaboration for users to
design the desired website.

Drupal Installation
To install Drupal, the requirements are:
 Web Server (use any one):
1. Apache
2. Nginx
3. Microsoft IIS
4. Hiawatha
 Database (use any one)
1. MySQL - 5.5.3 or higher
2. PostgreSQL - 9.1.2 or higher
3. SQLite - 3.4.2 or higher
 PHP 7.1 or higher (PHP 7.2 for Drupal 8.5.0)
 Refer the following links to install Drupal:

This study source was downloaded by 100000839484608 from CourseHero.com on 01-20-2022 00:42:43 GMT -06:00

https://www.coursehero.com/file/53632957/DRUPALdocx/
1. Local Server Setup
2. Installation
o Drupal Core comes with two default content types - Articles, Basic
pages and

Drupal Core comes with two default content types - Articles, Basic pages and offers the ability to
create Custom Content Types as required.
Content Type can include one or more Fields to store information. They work in conjunction
with Views to serve content to end users.

Content Type Example


Let's consider a content type called Product.
 Product Name, Description, Price, Product image, etc. will be the fields.
 You can use Content-Type Product to register multiple products.
 Views will serve the Product List to the end user.
 Content is stored as a node in the database

Follow the subsequent steps to create a basic page on your website.

 Head to Dashboard > Content > Add Content > Basic Page
 Provide the values in the fields required.
 Save and Publish.

Adding Fields to Content Type


Now that a custom content type is created, we are going to add fields to capture details
of the event like date, name, and description. All of these field types are available with
the Drupal 8 core.

Structure Tool
The Structure tool consists of different elements which are used for designing the website. They are:
 Block Layout
 Comment Types
 Contact Forms
 Content Types
 Menus
 Views
 Taxonomy
 Display Modes
How these are used for website building, and a summary of them is given in upcoming cards.

This study source was downloaded by 100000839484608 from CourseHero.com on 01-20-2022 00:42:43 GMT -06:00

https://www.coursehero.com/file/53632957/DRUPALdocx/
The Block Layout enables the developers to place blocks on the page for better visibility
for certain sections of the page.

Comment Types allows the users to make comments on the particular content type. This video
shows how to comment and add comment fields.

Contact Forms
A contact form is specifically for the customer service.
 Drupal provides users with a contact form and allows people to contact.
 Drupal has the default contact form, which contains the admin name and email
address. You can also customize your contact form mentioning the certain set of
details in the contact form window.
 Menus exist all over the site. Drupal provides easy access by creating menus for
the users.
 These are navigators for the website.
 They provide shortcuts by generating menus via links, and the user can place
 The Views makes the website in attractive.

 Using the views, you can place content anywhere on your site.

 It not only create updated pages automatically but also adds views to the
website.

To create your custom content types, you need to navigate to Structure Menu and
choose Add Content Type.

Modules are used to add a variety of features to your site.


You can access the modules from Extend Menu, and there are three types of modules:
 Core modules
 Contributed modules
 Custom modules
In simple terms, modules are a set of PHP, JavaScript, and/or CSS files that together give you a new
feature to use.

 These are the out of the box modules in Drupal that are designed for enabling
basic functionality of a site.
 The Core Modules provide functionalities for:
o Managing User accounts
o Managing the content and fields
o Managing navigation menus

This study source was downloaded by 100000839484608 from CourseHero.com on 01-20-2022 00:42:43 GMT -06:00

https://www.coursehero.com/file/53632957/DRUPALdocx/
o Making lists, grids, and blocks from existing content
 You can use a variety of modules that are available on the Drupal site.
 To use, first you need to filter for modules and download them from:
drupal.org > Download and Extend > Modules

 Themes define the presentation layer of your application, and it governs the new look and
feel of your website.
 It comprises template files, CSS, and images for each design. These files can be edited
as per your requirements.
 You can use themes contributed by others or create your own to share with the community.
 There is a large library of ready to be used themes available on Drupal site, for
you to choose based on your requirements.
 Some of the widely used themes available are:
o Bootstrap
o Adaptive theme
o ZURB Foundation
o Nexus
o Zircon

 Modules administration > Multilingual modules > Regional and Language


>Specify language

People Menu has three functionalities. They are:

1. Lists:

Lists consist of all the user's details, and the administrator can edit the operations of the
user.
2. Permissions: Permissions enables the users with restrictions. There are many
sets of permissions for each role at many levels that you can set.
3. Roles: A role defines a group of users that have certain privileges. These
privileges are defined at permissions page. Here you can define the names and
display sort order of the roles on your site.
4. List Menu Consists of the user lists and the user logs.
5. The administrator can add the users by choosing Add user option and can filter
the users with respect to roles and permissions.
6. In the image, you can see the user's list created.

Drush
Drush - Drupal Shell i.e., a command line interface.

This study source was downloaded by 100000839484608 from CourseHero.com on 01-20-2022 00:42:43 GMT -06:00

https://www.coursehero.com/file/53632957/DRUPALdocx/
It speeds up the Drupal development and administrative tasks.

By typing a simple command, you can perform all the actions that usually takes more time and
multiple steps in a browser.

The tasks we can perform are

Drupal Download

Install, update and delete modules, themes, etc.,

Run, update and backup database.

Add roles and permissions to users.

To know about more tasks that drush performs, go through DrushSafaribook

Custom Breakpoints cannot be created in Drupal 8.- t

This study source was downloaded by 100000839484608 from CourseHero.com on 01-20-2022 00:42:43 GMT -06:00

https://www.coursehero.com/file/53632957/DRUPALdocx/
Powered by TCPDF (www.tcpdf.org)

You might also like