SlideShare ist ein Scribd-Unternehmen logo
1 von 53
Downloaden Sie, um offline zu lesen
Drupal 	
An Introduction
What Should I Know First?

Before Installing:
  Be familiar with databases and PHPMyadmin, have a
  web server and a local database server
After Installing:
  Server admin skills, a lot of curiosity, and some time
  to spend learning how modules work together and
  what’s available
Main Drupal Topics

1: Understanding Drupal Core
2: Installation
3: Configuring Core
4: Configuring Modules
5: Best Practices
1: Understanding Drupal
What Is Drupal?
Content Management System (CMS)
  Framework - Content Management Framework CMF
  Open Source - Under GPL General Public License
  Web Application Framework - Written in PHP
      A way for developers and non-developers alike
      to manage content. Uses control panels rather
      than straight code.
Created By Dries Buytaert

Developer from Antwerp, Belgium
Derived from “Druppel,” the Dutch word
for “Drop” which also means village in
Dutch.
Drupal Distinctions
 Best PHP Open Source CMS from Packt Publishing
 Best Overall 2008 Open Source CMS Award for
 Second Year in a Row
     It does everything Wordpress does, and a lot more
     Its code is cleaner and better supported than
     Joomla!’s
     Is one of hundreds of CMS, but is continually
     growing.
Drupal Community
 Now a large community of developers and designers
 all work on Drupal and talk to each other
   irc.freenode.net - #drupal, #drupal-support
   #drupaltheming
   Conferences - DrupalCon
   Unconferences - DrupalCamps
   Meetups, etc...
     I organize the Drupal Meetup Group here in
     Austin.
Drupal Planning Stages
Prepare the concept of your website:
  What’s the main idea? Figure out what kind of
  content you want to serve. *CONTENT IS KING.
  Create a basic sitemap and features list.
  Go shopping for:
      Modules
      Themes
Drupal Is Platform Agnostic
 Allows for modularity and extensibility
 You can install:
   Apache/ IIS / Unix / Linux / BSD / Solaris /
   Windows / Mac OS X
   Database Independence: you can use both MySQL
   and PostgreSQL (ask me about even cooler stuff)
The Drupal “Stack”
Apache (lighttpd, IIS)
MySQL (PostgresSQL, SQL Server, Oracle)
PHP
   PHPMyAdmin for adminisering your SQL Database
Linux (BSD, Mac OS, Windows, Solaris)
Drupal Core
Drupal Is Modular
Drupal “Stack”
PHP: Generates
          Dynamic Content
          HTML                               <?PHP
          Page                                 ?>


 Client                                      <?PHP
  Web
          HTML
          Page
                    PHPTemplate                ?>
                                                        Drupal Core
Browser

          HTML
                                             <?PHP
          Page
                                               ?>


                          Drupal MySQL
                            Database
                 (Views Is Basically a Query Builder)
Displaying Page To Browser
 1. Browser retrieves dynamic information from the database.

 2. Browser checks retrieved data against relevant output filters.

 3. Server Inserts information into each core template.

 4. Theme Engine Merges template files into template.php

 5. Browser displays formatted page in the Web Browser.
Themes
Multiple Template Engines Available, though the most
common is PHPTemplate
Total customization possible by using
    CSS
    Writing custom template files
    Overriding template.php functions
    Writing a subtheme
Drupal 6.x
Separating Design & Logic
• .info files define your theme
• More templates = more control, better
  separation

• Better phptemplate_variables()
• Theme inheritance makes subtheming and
  overriding possible

• Pure CSS themes are also possible
Drupal “Core” Allows You To:
  Customize the layout with regions and block and any number of pages.

  Personalize logos, settings, themes, add blocks and customize templates

  Use a multi-level menu system - primary, secondary, tertiary, whatever you like

  Allow multiple people to create and edit content

  Utilize “roles” and flexible account privileges

  Use a hierarchical taxonomy to categorize content, use tagging

  Access statistics/logging and use advanced search functions
PHPTemplate Engine
              Wrapper that interfaces
   Drupal                      Template Language


• Understands HTML & PHP Statements for Dynamic Data

• Comes installed, so you need not touch it.

• File Extension - *.tpl.php

• Handles - page.tpl.php, front-page.tpl.php, node.tpl.php,
   comment.tpl.php, forum.tpl.php
3 Common
block.tpl.php    Template Files
     Navigation
                        Blog Post 1

    Who’s Online                      node.tpl.php


     Syndicate          Blog Post 2




                page.tpl.php
Each Template Handles
  A Region of Your Site
• page.tpl.php - Entire Page
• front-page.tpl.php - Just Front Page
• block.tpl.php - Blocks
• comment.tpl.php - Comments
• forum.tpl.php - Forums
Template Hierarchy -
      Specific before General
Home Page                Nodes
page-front.tpl.php       node-type.tpl.php
page.tpl.php             node.tpl.php


                         Comments
Pages                    comment.tpl.php
page-node-edit.tpl.php
page-node-1.tpl.php
page-node.tpl.php        Blocks
page.tpl.php             block-module-delta.tpl.php
                         block-module.tpl.php

Boxes                    block-region.tpl.php
                         block.tpl.php
box.tpl.php
Theme vs. Sub-Theme
Modules
2. Installation
Acquia Drupal
Localhost Installation

 Download the Acqiua Drupal Stack Installer
 Unzip
 Run installation GUI
 Set up Database name and click through to see your
 new Drupal Site!
Installation
 Localhost:
     Acquia Drupal Stack Installer
     WampServer
     XAMPP
     MAMP
 3rd Party Server: Make sure host supports Drupal
 stack, upload files and create database on server.
Other Installation Options

 XAMP - Windows, Does not work well with Mac.
 WAMP - Windows
 MAMP - I use this on Mac OS X
 WampServer - This is the one we will use if the Acquia
 Stack Installer does not work out.
Installing on 3rd Party
 FTP

 Shell/ SSH / Command Line

    wget

    tar -xvzf

    DATABASE

       Database name

       User name and password

       Host (localhost on your machine)
3. Site Configuration
admin_menu
Administration menu module provides a theme-independent administration
interface (aka. "navigation", "back-end") for Drupal. It's a helper for novice Drupal
users coming from other CMS, a real time-saver for Drupal site administrators, and
definitely a must for Drupal developers and site builders (keyword: Devel
integration).



The module renders all administrative menu items below 'administer' in a clean,
attractive and purely CSS-based menu at the top of your website. It contains not
only regular menu items - local tasks are also included, giving you extremely fast
access to any administrative resource and function your Drupal installation
provides.
What You Can Do With Core
Enable your blog
Configure your site
Write content
Create roles
Create blocks & move them around
Site Configuration
Create the first user
Go to admin page - handle errors
Site configuration - file system
Enable clean URLs
Enable modules
Creat roles and 2nd user
Add Content

Blog
Story
Pages
Enable Taxonomy to Create Content Categories
Install admin_menu before doing anything else
Creating News (For example)

 1. Create Vocabulary (administer>>categories>> add
 vocabulary tab called “News” with “story” checked
 under “Types:”, “Hierarchy:”, set to “Disabled”, uncheck
 “Multiple select” and check “Required”
 2. Create terms (administer>>categories>>add terms)
 Under this “News” Vocabulary as follows: “News,”
 “Media Releases” and “Events”
4. Installing More Modules
Where to Get More Modules

http://drupal.org/project/Modules
How to figure out which modules are best
  Read “Using Drupal” from O’REILLY
  Go to www.drupalmodules.com
Essential Contrib. Modules

   admin_menu   FCKeditor
   CCK          IMCE
   Views        Filefield
   Bueditor     SEOchecklist
CCK Module

Allows you to add custom fields to nodes using a web
browser.
Drupal comes with core content types like story and
blog. For each content type, I can go to 'create
content' and submit a new story, blog entry, etc. That's
great if I can tailor my content needs to fit those models
of pure chunks of text with or without attachments.
Views Module

Provides a flexible method for Drupal site designers to control how lists and tables
of content (nodes in Views 1, almost anything in Views 2) are presented.
Traditionally, Drupal has hard-coded most of this, particularly in how taxonomy and
tracker lists are formatted.

This tool is essentially a smart query builder that, given enough information, can
build the proper query, execute it, and display the results. It has four modes, plus a
special mode, and provides an impressive amount of functionality from these
modes.
Bueditor Module

Editor interface and button functionality are completely
customizable through administration pages.
It supports role based editor interfaces.
 It's possible to create image or text buttons.
Buttons can be customized to generate code snippets,
html tags, bbcode tags etc.
IMCE Module

Used as a file browser in many popular rich text editors
such as FCKEditor, TinyMCE, WYMEditor, Whizzywig
etc.
It can been also used for inline image/file insertion into
textareas. This is a built-in feature that can be used
stand-alone or with a text editor such as BUEditor.
Filefield Module
 Configurable upload paths allow you to save files into
 per-field or per-user directories
 Per-field and per-node file size limits
 Extensive API for extending field widgets and managing
 files
 Full revision/translation file management
 Views support
SEO Checklist
Provides a checklist of good Drupal SEO (Search
Engine Optimization) best practices.
Provides a checklist that helps you keep track of what
needs to be done.
Looks to see what modules you already have installed.
Then, all you have to do is go down the list of
unchecked items and do them.
When all the items are checked, you're done!
More Modules
Spam Control - Mollom
Google Analytics - drupal.org/project/google_analytics
Pathauto - drupal.org/project/pathauto
Token - drupal.org/project/token
Update module - drupal.org/project/update_status
etc...
Best Practices
Don’t Hack Core!
Account and Roles
Plan for future upgrades
Back up both the database and the files regularly
Use sites/all/modules and sites/all/themes
Avoid spaces in any directory name
Community Websites
Self-Taught Drupal

 http://www.drupal.org
 www.learnbythedrop.com
 www.lullabot.com
 Books: Pro Drupal Development, Using Drupal,
 Learning Module Development, Front-End Drupal, etc...
Multi-Language Support

You can have a site in three languages, or more:
  English
  Hungarian
  Spanish
  System is independent of the language, the author
  defines it
IRC Is a Big Resource




- Support exhange
- Collaboration in ideas, code & events
- Local user groups
Useful Links
 api.drupal.org
 drupal.org/handbooks
 drupalchat.net
 is.gd/15tJF - Chatzilla Firefox plugin
 is.gd/15vNY - Wikipedia IRC client comparison
 drupal.org/forum
 drupal.org/project/issues
Me: Lauren N. Roth

512.461.5313, lauren@laurennroth.com
Assisting at Installation Fest Wednesday July 15th at
7:15pm - Union Park downtown
Speaking at Drupalcamp Dallas in early August
Introducing Drupal at Austin Developers and Designers
Meeting on August 11th

Weitere ähnliche Inhalte

Was ist angesagt?

Drupal Experience Sharing at Prime College
Drupal Experience Sharing at Prime CollegeDrupal Experience Sharing at Prime College
Drupal Experience Sharing at Prime Collegeguest08bc36
 
Introduction to Drupal Basics
Introduction to Drupal BasicsIntroduction to Drupal Basics
Introduction to Drupal BasicsJuha Niemi
 
Introduction to Drupal for Absolute Beginners
Introduction to Drupal for Absolute BeginnersIntroduction to Drupal for Absolute Beginners
Introduction to Drupal for Absolute Beginnerseverlearner
 
History of Drupal: From Drop 1.0 to Drupal 8
History of Drupal: From Drop 1.0 to Drupal 8History of Drupal: From Drop 1.0 to Drupal 8
History of Drupal: From Drop 1.0 to Drupal 8Websolutions Agency
 
Drupal Overview For Techies
Drupal Overview For TechiesDrupal Overview For Techies
Drupal Overview For TechiesRobert Carr
 
Drupal in 30 Minutes
Drupal in 30 MinutesDrupal in 30 Minutes
Drupal in 30 MinutesRobert Carr
 
Drupal Conference
Drupal ConferenceDrupal Conference
Drupal ConferenceChanHan Hy
 
Drupal Migrations in 2018
Drupal Migrations in 2018Drupal Migrations in 2018
Drupal Migrations in 2018Pantheon
 
Drupal Now! - Introduction to Drupal
Drupal Now! - Introduction to DrupalDrupal Now! - Introduction to Drupal
Drupal Now! - Introduction to DrupalAlozie Nwosu
 
Evolution of Drupal and the Drupal community
Evolution of Drupal and the Drupal communityEvolution of Drupal and the Drupal community
Evolution of Drupal and the Drupal communityAngela Byron
 
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...sbclapp
 
Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending Drupal
Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending Drupal Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending Drupal
Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending Drupal DrupalMumbai
 

Was ist angesagt? (20)

Drupal Experience Sharing at Prime College
Drupal Experience Sharing at Prime CollegeDrupal Experience Sharing at Prime College
Drupal Experience Sharing at Prime College
 
Introduction to Drupal Basics
Introduction to Drupal BasicsIntroduction to Drupal Basics
Introduction to Drupal Basics
 
Introduction to Drupal for Absolute Beginners
Introduction to Drupal for Absolute BeginnersIntroduction to Drupal for Absolute Beginners
Introduction to Drupal for Absolute Beginners
 
Beginners Guide to Drupal
Beginners Guide to DrupalBeginners Guide to Drupal
Beginners Guide to Drupal
 
Drupal Webinar
Drupal WebinarDrupal Webinar
Drupal Webinar
 
Drupal
DrupalDrupal
Drupal
 
Drupal introduction
Drupal introductionDrupal introduction
Drupal introduction
 
Drupal distribution
Drupal distributionDrupal distribution
Drupal distribution
 
History of Drupal: From Drop 1.0 to Drupal 8
History of Drupal: From Drop 1.0 to Drupal 8History of Drupal: From Drop 1.0 to Drupal 8
History of Drupal: From Drop 1.0 to Drupal 8
 
Drupal Overview For Techies
Drupal Overview For TechiesDrupal Overview For Techies
Drupal Overview For Techies
 
Drupal in 30 Minutes
Drupal in 30 MinutesDrupal in 30 Minutes
Drupal in 30 Minutes
 
Drupal Conference
Drupal ConferenceDrupal Conference
Drupal Conference
 
Drupal Migrations in 2018
Drupal Migrations in 2018Drupal Migrations in 2018
Drupal Migrations in 2018
 
Drupal Now! - Introduction to Drupal
Drupal Now! - Introduction to DrupalDrupal Now! - Introduction to Drupal
Drupal Now! - Introduction to Drupal
 
Evolution of Drupal and the Drupal community
Evolution of Drupal and the Drupal communityEvolution of Drupal and the Drupal community
Evolution of Drupal and the Drupal community
 
Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs
 
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
 
Sample Absolute beginners guide
Sample Absolute beginners guideSample Absolute beginners guide
Sample Absolute beginners guide
 
Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending Drupal
Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending Drupal Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending Drupal
Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending Drupal
 
Drupal
DrupalDrupal
Drupal
 

Andere mochten auch

Drupal for Marketers
Drupal for MarketersDrupal for Marketers
Drupal for MarketersAcquia
 
Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to DrupalTom Deryckere
 
10 Reasons to Choose Drupal
10 Reasons to Choose Drupal10 Reasons to Choose Drupal
10 Reasons to Choose DrupalAcquia
 
Site building using Drupal 8
Site building using Drupal 8Site building using Drupal 8
Site building using Drupal 8UniMitySolution
 
Can we save the open web?
Can we save the open web?Can we save the open web?
Can we save the open web?Acquia
 
Intro to Commons, Part 1: How to Manage Your Online Community
Intro to Commons, Part 1: How to Manage Your Online CommunityIntro to Commons, Part 1: How to Manage Your Online Community
Intro to Commons, Part 1: How to Manage Your Online CommunityAcquia
 
Introduction to Joomla SEO
Introduction to Joomla SEOIntroduction to Joomla SEO
Introduction to Joomla SEOalledia
 
Introduction to WordPress - Adam W. Warner
Introduction to WordPress - Adam W. WarnerIntroduction to WordPress - Adam W. Warner
Introduction to WordPress - Adam W. WarnerAdam W. Warner
 
MAMP: Building WordPress sites in your local environment
MAMP: Building WordPress sites in your local environmentMAMP: Building WordPress sites in your local environment
MAMP: Building WordPress sites in your local environmentLiam Dempsey
 
Introduction to Drupal, Wayne Eaker, Nov 11, 09
Introduction to Drupal, Wayne Eaker, Nov 11, 09 Introduction to Drupal, Wayne Eaker, Nov 11, 09
Introduction to Drupal, Wayne Eaker, Nov 11, 09 Lunch Ann Arbor Marketing
 
Quick introduction to joomla
Quick introduction to joomlaQuick introduction to joomla
Quick introduction to joomlaSabuj Kundu
 
Introduction to Drupal (7) Theming
Introduction to Drupal (7) ThemingIntroduction to Drupal (7) Theming
Introduction to Drupal (7) ThemingRobert Carr
 
Michael jordan
Michael jordanMichael jordan
Michael jordanskuryan
 
Hello Drupal!
Hello Drupal!Hello Drupal!
Hello Drupal!Acquia
 
Introductie Drupal development
Introductie Drupal developmentIntroductie Drupal development
Introductie Drupal developmentBart Hanssens
 
Introduction to Drupal Distributions
Introduction to Drupal DistributionsIntroduction to Drupal Distributions
Introduction to Drupal DistributionsAmplexor
 

Andere mochten auch (20)

Drupal for Marketers
Drupal for MarketersDrupal for Marketers
Drupal for Marketers
 
Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to Drupal
 
Drupal & You
Drupal & YouDrupal & You
Drupal & You
 
10 Reasons to Choose Drupal
10 Reasons to Choose Drupal10 Reasons to Choose Drupal
10 Reasons to Choose Drupal
 
Site building using Drupal 8
Site building using Drupal 8Site building using Drupal 8
Site building using Drupal 8
 
Can we save the open web?
Can we save the open web?Can we save the open web?
Can we save the open web?
 
Intro to Commons, Part 1: How to Manage Your Online Community
Intro to Commons, Part 1: How to Manage Your Online CommunityIntro to Commons, Part 1: How to Manage Your Online Community
Intro to Commons, Part 1: How to Manage Your Online Community
 
Why a CMS? Why Drupal?
Why a CMS? Why Drupal?Why a CMS? Why Drupal?
Why a CMS? Why Drupal?
 
Drupal
DrupalDrupal
Drupal
 
Introduction to Joomla SEO
Introduction to Joomla SEOIntroduction to Joomla SEO
Introduction to Joomla SEO
 
Introduction to WordPress - Adam W. Warner
Introduction to WordPress - Adam W. WarnerIntroduction to WordPress - Adam W. Warner
Introduction to WordPress - Adam W. Warner
 
Joomla Introduction Summer2008
Joomla Introduction Summer2008Joomla Introduction Summer2008
Joomla Introduction Summer2008
 
MAMP: Building WordPress sites in your local environment
MAMP: Building WordPress sites in your local environmentMAMP: Building WordPress sites in your local environment
MAMP: Building WordPress sites in your local environment
 
Introduction to Drupal, Wayne Eaker, Nov 11, 09
Introduction to Drupal, Wayne Eaker, Nov 11, 09 Introduction to Drupal, Wayne Eaker, Nov 11, 09
Introduction to Drupal, Wayne Eaker, Nov 11, 09
 
Quick introduction to joomla
Quick introduction to joomlaQuick introduction to joomla
Quick introduction to joomla
 
Introduction to Drupal (7) Theming
Introduction to Drupal (7) ThemingIntroduction to Drupal (7) Theming
Introduction to Drupal (7) Theming
 
Michael jordan
Michael jordanMichael jordan
Michael jordan
 
Hello Drupal!
Hello Drupal!Hello Drupal!
Hello Drupal!
 
Introductie Drupal development
Introductie Drupal developmentIntroductie Drupal development
Introductie Drupal development
 
Introduction to Drupal Distributions
Introduction to Drupal DistributionsIntroduction to Drupal Distributions
Introduction to Drupal Distributions
 

Ähnlich wie Drupal Beginner's Guide

Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation Micky Metts
 
Open Source Content Management Systems
Open Source Content Management SystemsOpen Source Content Management Systems
Open Source Content Management SystemsMatthew Turland
 
Drupal Experience Sharing At Prime College
Drupal Experience Sharing At Prime CollegeDrupal Experience Sharing At Prime College
Drupal Experience Sharing At Prime CollegeGeshan Manandhar
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalRod Martin
 
Rapid site production with Drupal
Rapid site production with DrupalRapid site production with Drupal
Rapid site production with DrupalRob Sawyer
 
CMS 101 Drupal
CMS 101 DrupalCMS 101 Drupal
CMS 101 Drupalggfergu
 
Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Angela Byron
 
Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Acquia
 
Drupal8 corporate training in Hyderabad
Drupal8 corporate training in HyderabadDrupal8 corporate training in Hyderabad
Drupal8 corporate training in Hyderabadphp2ranjan
 
How to Install and Configure Drupal CMS
How to Install and Configure Drupal CMSHow to Install and Configure Drupal CMS
How to Install and Configure Drupal CMSffats1
 
How to Install and Configure Drupal CMS
How to Install and Configure Drupal CMSHow to Install and Configure Drupal CMS
How to Install and Configure Drupal CMSdarandon
 
Intro to drupal_7_architecture
Intro to drupal_7_architectureIntro to drupal_7_architecture
Intro to drupal_7_architectureHai Vo Hoang
 
Introduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesIntroduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesGerald Villorente
 
CONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMCONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMANAND PRAKASH
 

Ähnlich wie Drupal Beginner's Guide (20)

Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation
 
Open Source Content Management Systems
Open Source Content Management SystemsOpen Source Content Management Systems
Open Source Content Management Systems
 
Drupal Experience Sharing At Prime College
Drupal Experience Sharing At Prime CollegeDrupal Experience Sharing At Prime College
Drupal Experience Sharing At Prime College
 
Design to Theme @ CMSExpo
Design to Theme @ CMSExpoDesign to Theme @ CMSExpo
Design to Theme @ CMSExpo
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to Drupal
 
Rapid site production with Drupal
Rapid site production with DrupalRapid site production with Drupal
Rapid site production with Drupal
 
CMS 101 Drupal
CMS 101 DrupalCMS 101 Drupal
CMS 101 Drupal
 
Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8
 
Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8
 
72d5drupal
72d5drupal72d5drupal
72d5drupal
 
Drupal8 corporate training in Hyderabad
Drupal8 corporate training in HyderabadDrupal8 corporate training in Hyderabad
Drupal8 corporate training in Hyderabad
 
Drupal_cubet seminar
Drupal_cubet seminarDrupal_cubet seminar
Drupal_cubet seminar
 
How to Install and Configure Drupal CMS
How to Install and Configure Drupal CMSHow to Install and Configure Drupal CMS
How to Install and Configure Drupal CMS
 
How to Install and Configure Drupal CMS
How to Install and Configure Drupal CMSHow to Install and Configure Drupal CMS
How to Install and Configure Drupal CMS
 
Drupal - Introduction to Drupal Creating Modules
Drupal - Introduction to Drupal Creating ModulesDrupal - Introduction to Drupal Creating Modules
Drupal - Introduction to Drupal Creating Modules
 
Drupal
DrupalDrupal
Drupal
 
SynapseIndia drupal presentation on drupal
SynapseIndia drupal  presentation on drupalSynapseIndia drupal  presentation on drupal
SynapseIndia drupal presentation on drupal
 
Intro to drupal_7_architecture
Intro to drupal_7_architectureIntro to drupal_7_architecture
Intro to drupal_7_architecture
 
Introduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesIntroduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, Terminologies
 
CONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMCONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEM
 

Kürzlich hochgeladen

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Kürzlich hochgeladen (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Drupal Beginner's Guide

  • 2. What Should I Know First? Before Installing: Be familiar with databases and PHPMyadmin, have a web server and a local database server After Installing: Server admin skills, a lot of curiosity, and some time to spend learning how modules work together and what’s available
  • 3. Main Drupal Topics 1: Understanding Drupal Core 2: Installation 3: Configuring Core 4: Configuring Modules 5: Best Practices
  • 5. What Is Drupal? Content Management System (CMS) Framework - Content Management Framework CMF Open Source - Under GPL General Public License Web Application Framework - Written in PHP A way for developers and non-developers alike to manage content. Uses control panels rather than straight code.
  • 6. Created By Dries Buytaert Developer from Antwerp, Belgium Derived from “Druppel,” the Dutch word for “Drop” which also means village in Dutch.
  • 7. Drupal Distinctions Best PHP Open Source CMS from Packt Publishing Best Overall 2008 Open Source CMS Award for Second Year in a Row It does everything Wordpress does, and a lot more Its code is cleaner and better supported than Joomla!’s Is one of hundreds of CMS, but is continually growing.
  • 8. Drupal Community Now a large community of developers and designers all work on Drupal and talk to each other irc.freenode.net - #drupal, #drupal-support #drupaltheming Conferences - DrupalCon Unconferences - DrupalCamps Meetups, etc... I organize the Drupal Meetup Group here in Austin.
  • 9. Drupal Planning Stages Prepare the concept of your website: What’s the main idea? Figure out what kind of content you want to serve. *CONTENT IS KING. Create a basic sitemap and features list. Go shopping for: Modules Themes
  • 10. Drupal Is Platform Agnostic Allows for modularity and extensibility You can install: Apache/ IIS / Unix / Linux / BSD / Solaris / Windows / Mac OS X Database Independence: you can use both MySQL and PostgreSQL (ask me about even cooler stuff)
  • 11. The Drupal “Stack” Apache (lighttpd, IIS) MySQL (PostgresSQL, SQL Server, Oracle) PHP PHPMyAdmin for adminisering your SQL Database Linux (BSD, Mac OS, Windows, Solaris)
  • 15. PHP: Generates Dynamic Content HTML <?PHP Page ?> Client <?PHP Web HTML Page PHPTemplate ?> Drupal Core Browser HTML <?PHP Page ?> Drupal MySQL Database (Views Is Basically a Query Builder)
  • 16. Displaying Page To Browser 1. Browser retrieves dynamic information from the database. 2. Browser checks retrieved data against relevant output filters. 3. Server Inserts information into each core template. 4. Theme Engine Merges template files into template.php 5. Browser displays formatted page in the Web Browser.
  • 17. Themes Multiple Template Engines Available, though the most common is PHPTemplate Total customization possible by using CSS Writing custom template files Overriding template.php functions Writing a subtheme
  • 18. Drupal 6.x Separating Design & Logic • .info files define your theme • More templates = more control, better separation • Better phptemplate_variables() • Theme inheritance makes subtheming and overriding possible • Pure CSS themes are also possible
  • 19. Drupal “Core” Allows You To: Customize the layout with regions and block and any number of pages. Personalize logos, settings, themes, add blocks and customize templates Use a multi-level menu system - primary, secondary, tertiary, whatever you like Allow multiple people to create and edit content Utilize “roles” and flexible account privileges Use a hierarchical taxonomy to categorize content, use tagging Access statistics/logging and use advanced search functions
  • 20. PHPTemplate Engine Wrapper that interfaces Drupal Template Language • Understands HTML & PHP Statements for Dynamic Data • Comes installed, so you need not touch it. • File Extension - *.tpl.php • Handles - page.tpl.php, front-page.tpl.php, node.tpl.php, comment.tpl.php, forum.tpl.php
  • 21. 3 Common block.tpl.php Template Files Navigation Blog Post 1 Who’s Online node.tpl.php Syndicate Blog Post 2 page.tpl.php
  • 22. Each Template Handles A Region of Your Site • page.tpl.php - Entire Page • front-page.tpl.php - Just Front Page • block.tpl.php - Blocks • comment.tpl.php - Comments • forum.tpl.php - Forums
  • 23. Template Hierarchy - Specific before General Home Page Nodes page-front.tpl.php node-type.tpl.php page.tpl.php node.tpl.php Comments Pages comment.tpl.php page-node-edit.tpl.php page-node-1.tpl.php page-node.tpl.php Blocks page.tpl.php block-module-delta.tpl.php block-module.tpl.php Boxes block-region.tpl.php block.tpl.php box.tpl.php
  • 27. Acquia Drupal Localhost Installation Download the Acqiua Drupal Stack Installer Unzip Run installation GUI Set up Database name and click through to see your new Drupal Site!
  • 28. Installation Localhost: Acquia Drupal Stack Installer WampServer XAMPP MAMP 3rd Party Server: Make sure host supports Drupal stack, upload files and create database on server.
  • 29. Other Installation Options XAMP - Windows, Does not work well with Mac. WAMP - Windows MAMP - I use this on Mac OS X WampServer - This is the one we will use if the Acquia Stack Installer does not work out.
  • 30. Installing on 3rd Party FTP Shell/ SSH / Command Line wget tar -xvzf DATABASE Database name User name and password Host (localhost on your machine)
  • 32. admin_menu Administration menu module provides a theme-independent administration interface (aka. "navigation", "back-end") for Drupal. It's a helper for novice Drupal users coming from other CMS, a real time-saver for Drupal site administrators, and definitely a must for Drupal developers and site builders (keyword: Devel integration). The module renders all administrative menu items below 'administer' in a clean, attractive and purely CSS-based menu at the top of your website. It contains not only regular menu items - local tasks are also included, giving you extremely fast access to any administrative resource and function your Drupal installation provides.
  • 33. What You Can Do With Core Enable your blog Configure your site Write content Create roles Create blocks & move them around
  • 34. Site Configuration Create the first user Go to admin page - handle errors Site configuration - file system Enable clean URLs Enable modules Creat roles and 2nd user
  • 35. Add Content Blog Story Pages Enable Taxonomy to Create Content Categories Install admin_menu before doing anything else
  • 36. Creating News (For example) 1. Create Vocabulary (administer>>categories>> add vocabulary tab called “News” with “story” checked under “Types:”, “Hierarchy:”, set to “Disabled”, uncheck “Multiple select” and check “Required” 2. Create terms (administer>>categories>>add terms) Under this “News” Vocabulary as follows: “News,” “Media Releases” and “Events”
  • 38. Where to Get More Modules http://drupal.org/project/Modules How to figure out which modules are best Read “Using Drupal” from O’REILLY Go to www.drupalmodules.com
  • 39. Essential Contrib. Modules admin_menu FCKeditor CCK IMCE Views Filefield Bueditor SEOchecklist
  • 40. CCK Module Allows you to add custom fields to nodes using a web browser. Drupal comes with core content types like story and blog. For each content type, I can go to 'create content' and submit a new story, blog entry, etc. That's great if I can tailor my content needs to fit those models of pure chunks of text with or without attachments.
  • 41. Views Module Provides a flexible method for Drupal site designers to control how lists and tables of content (nodes in Views 1, almost anything in Views 2) are presented. Traditionally, Drupal has hard-coded most of this, particularly in how taxonomy and tracker lists are formatted. This tool is essentially a smart query builder that, given enough information, can build the proper query, execute it, and display the results. It has four modes, plus a special mode, and provides an impressive amount of functionality from these modes.
  • 42. Bueditor Module Editor interface and button functionality are completely customizable through administration pages. It supports role based editor interfaces. It's possible to create image or text buttons. Buttons can be customized to generate code snippets, html tags, bbcode tags etc.
  • 43. IMCE Module Used as a file browser in many popular rich text editors such as FCKEditor, TinyMCE, WYMEditor, Whizzywig etc. It can been also used for inline image/file insertion into textareas. This is a built-in feature that can be used stand-alone or with a text editor such as BUEditor.
  • 44. Filefield Module Configurable upload paths allow you to save files into per-field or per-user directories Per-field and per-node file size limits Extensive API for extending field widgets and managing files Full revision/translation file management Views support
  • 45. SEO Checklist Provides a checklist of good Drupal SEO (Search Engine Optimization) best practices. Provides a checklist that helps you keep track of what needs to be done. Looks to see what modules you already have installed. Then, all you have to do is go down the list of unchecked items and do them. When all the items are checked, you're done!
  • 46. More Modules Spam Control - Mollom Google Analytics - drupal.org/project/google_analytics Pathauto - drupal.org/project/pathauto Token - drupal.org/project/token Update module - drupal.org/project/update_status etc...
  • 47. Best Practices Don’t Hack Core! Account and Roles Plan for future upgrades Back up both the database and the files regularly Use sites/all/modules and sites/all/themes Avoid spaces in any directory name
  • 49. Self-Taught Drupal http://www.drupal.org www.learnbythedrop.com www.lullabot.com Books: Pro Drupal Development, Using Drupal, Learning Module Development, Front-End Drupal, etc...
  • 50. Multi-Language Support You can have a site in three languages, or more: English Hungarian Spanish System is independent of the language, the author defines it
  • 51. IRC Is a Big Resource - Support exhange - Collaboration in ideas, code & events - Local user groups
  • 52. Useful Links api.drupal.org drupal.org/handbooks drupalchat.net is.gd/15tJF - Chatzilla Firefox plugin is.gd/15vNY - Wikipedia IRC client comparison drupal.org/forum drupal.org/project/issues
  • 53. Me: Lauren N. Roth 512.461.5313, lauren@laurennroth.com Assisting at Installation Fest Wednesday July 15th at 7:15pm - Union Park downtown Speaking at Drupalcamp Dallas in early August Introducing Drupal at Austin Developers and Designers Meeting on August 11th