28
Drupal 7 Basics - Introduction - Features - Overview @alvimurtaza Presented By: Syed Murtaza Mairaj Alvi http://alvimurtaza.com [email protected]

Basic Introduction to Drupal

Embed Size (px)

Citation preview

Page 1: Basic Introduction to Drupal

Drupal 7Basics - Introduction - Features - Overview

@alvimurtaza

Presented By:Syed Murtaza Mairaj Alvihttp://[email protected]

Page 2: Basic Introduction to Drupal

So let’s talk about Drupal.

It’s a thing, and it does stuff.

1,134,701 people in 229 countries * speaking 180 languages power Drupal

Page 3: Basic Introduction to Drupal

Druplicon - the Drupal Mascot. It’s basically a raindrop with a face on it.

Page 4: Basic Introduction to Drupal

Drupal 7Drupal 7 is trended as one of the world strongest CMS . It has so

many features and the “n” number of enhancement portability

and flexibility. Using the drupal 7 you can easily manage your

content.

Using this CMS website can be built very quick and simple.

According to the recent statistics nearly 2 millions of websites

are running on drupal & this number increases everyday.

Founder- Dries Buytaert, a belgian citizen, open- sourced in 2001

Page 5: Basic Introduction to Drupal

So Drupal is a thing, right?

Open Source Basically, you can use Drupal for free. There isn’t an enterprise behind Drupal – instead though people are

paid to develop for Drupal.

Community Based Drupal is all about community. Even if Bob develops a module that his site uses, he’ll probably

contribute that module back to the community. I’ve worked in the profession, & never had a problem reaching out to a

Drupal person for help – if they can’t help, they’ll refer you to someonewho can.

Page 6: Basic Introduction to Drupal

http://drupal.org

Page 7: Basic Introduction to Drupal

Installation, Knowledge

RequirementsApache ServerMySQL / MongoDBDrupal Setup

Optional:A Unix based machine. I use Ubuntu.A text editor: Vim, GVim, Sublime text, or anyone you like!

Knowledge about Web Development: Good News, zero can work as well! If you know basics, you have benefits, you should dive in!

Page 8: Basic Introduction to Drupal

Drupal Distribution’s Building Blocks

Page 9: Basic Introduction to Drupal

Installation

Need to create a database in mysql mysql –u “username” –p “password”

create database awesomesite;

ctrl+ c or \q or exit.

Need a name of website need a username & password for the site administrator.

need an email id for the site administrator.

Page 10: Basic Introduction to Drupal

Page 11: Basic Introduction to Drupal

Page 12: Basic Introduction to Drupal

Key Features of Drupal 7

Listing out some of the very important features and topics of the drupal 7 :

Node Management - you can create your own content types

(like blogs,news,lessons etc) and include “n” number fields

with that.

User & Role management - Handle itself with login and

registration system. Welcome notification email alter , you

can have permissions for the roles like add , edit , delete etc

Themes - You have core themes for the front-end of the

website. Also you can extend the sub theme from the

contributed themes.

Modules - extend or modify the functionality of the website.

Page 13: Basic Introduction to Drupal

Blocks and regions

File Management - you can handle image and other documents

upload very easily by adding the fields.

In addition: Page - One of the two basic content types that are packaged with Drupal

core. Generally, pages are used for static content that is to be linked intothe main navigation bar. Not all nodes are pages, but all pages are nodes.

Article - The other content type that comes with Core. Usually used forcontent that changes or isn’t permanent. Like blog posts or marketingreleases.

Let’s see the items one by one

...

Page 14: Basic Introduction to Drupal

Content (or) Node Management

In the Technical term node is what we call as a single entity.

Node belongs to any one content type with combination of

multiple fields. With Drupal 7 you can define your own type of

content and fields.

Example : Content Type “Hospital” – We can have fields like

Hospital Name, Hospital Address, Hospital Image, Hospital

Phone Number etc.

After completion when you put a single each and every data

entry of hospital data, it is a node.

Manage content type : Admin => structure => content type

Page 15: Basic Introduction to Drupal

User & Role Management

Drupal 7 core has the features of user and role management. It

has default registration, login and permissions modules.

If you want you can extend the fields on the registration, add

your own role, you can define the permission to each roles. You

can also allow your user to perform such a actions like posting

article, reviewing article etc.

Drupal 7 :

Manage Users: Admin => people

Page 16: Basic Introduction to Drupal

Themes

are what which render the back-end data into display with the

help of drupal template engine. Drupal comes with 4 default

themes bartik, garland, seven and stark. you can also install

and use the contributed themes or write your own theme.

Theme directory:

core Themes will be in root_directory/themes/list_of_themes.

contributed and custom themes should be on

root_directory/sites/all/modules/list_of_themes.

Page 17: Basic Introduction to Drupal

Modules

will be used to extend the functionality of your website. Basically

Drupal 7 has Two types of modules.

Core Modules - These type of modules comes with default

drupal 7 core download. [like node, user etc.]

Contributed Modules - Developed by the contributor of the

drupal community. These need to be installed by the

developer if/when needed.

Apart from this you can derive your own customized module.

Page 18: Basic Introduction to Drupal

Blocks and Regions

Blocks are the small pieces of the content you can show it on

anywhere in the website. Drupal has the regions like header,

footer, sidebar first, sidebar second, content top, content

bottom, main content etc. Incase if you need, you can have

your own region which can be defined in the theme files.

Manage blocks : Admin => Structure => blocks

Page 19: Basic Introduction to Drupal

Views =*everyone’s 1st recommendation*

Views will help you render the content and displays to end user.

Views basically gives you an alternative way to display content,

and restrict that display to specific content types or taxonomy

terms. It’s even possible to restrict to a certain user’s content.

Reference : https://www.drupal.org/project/views

Manage Views : Admin => Structure => views

Page 20: Basic Introduction to Drupal

Menu & Taxnomy

Menu - user can add edit menu items

[Admin => structure => menu]

Taxonomy - can add edit taxonomy

[Admin => structure => taxonomy]

Page 21: Basic Introduction to Drupal

Performance

The important feature in drupal, ability to compress the js and

css files used in the web part to increase the performance for

the website using cache system. you can enable or disable the

cache system.

[Admin => configuration => Performance]

Page 22: Basic Introduction to Drupal

Drupal 8 is coming!

887 Distributions Drupal Core Commerce kickstart Drupal Commons Panopoly Julio OpenPublish Opigno LMS OpenFolio Flight Training Open Hotel …

Page 23: Basic Introduction to Drupal

Some sites made with drupal!

whitehouse.gov The white house

soundsnap.com Free online sound Library

warchild.org.uk Charity Website

economist.com Newspaper

dnaindia.com Entertainment & News

forbes.com Business & Financial Information

kotak.com Bank Website

fox.com Broadcasting

packtpub.com Online Tutorials & Publication ...

checkout top ranking websites from topdrops.org

Page 24: Basic Introduction to Drupal

Page 25: Basic Introduction to Drupal

Page 26: Basic Introduction to Drupal

Where to get help!

Google. It’s legit. Got a weird error message? Google.

Drupal.org is always a good place to go – the search is unwieldy,

though.

Stack Exchange

Stack Overflow

But really, Google will get you blog posts from people who have

had your exact problem as well as every other site’s answers.

Page 27: Basic Introduction to Drupal

Awesome Places for Training [free]

YouTube Just search for whatever you need help with. There are videos of presentations, tutorials, etc.

Google. There are several million tutorials out there that really want to help

you out.

Drupal Camps

Drop me a line, I ’ll try to help!

Page 28: Basic Introduction to Drupal

Thank You, let’s Drupalize

Questions?