Upload
murtaza-alvi
View
128
Download
0
Embed Size (px)
Citation preview
Drupal 7Basics - Introduction - Features - Overview
@alvimurtaza
Presented By:Syed Murtaza Mairaj Alvihttp://[email protected]
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
Druplicon - the Drupal Mascot. It’s basically a raindrop with a face on it.
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
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.
http://drupal.org
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!
Drupal Distribution’s Building Blocks
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.
…
…
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.
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
...
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
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
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.
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.
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
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
Menu & Taxnomy
Menu - user can add edit menu items
[Admin => structure => menu]
Taxonomy - can add edit taxonomy
[Admin => structure => taxonomy]
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]
Drupal 8 is coming!
887 Distributions Drupal Core Commerce kickstart Drupal Commons Panopoly Julio OpenPublish Opigno LMS OpenFolio Flight Training Open Hotel …
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
…
…
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.
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!
Thank You, let’s Drupalize
Questions?