drupalcon austin - absolute beginner's guide to drupal

107
rtyeq `qa ` `1q`123HJDSQ QFGA The Absolute Beginner’s Guide to Drupal Rod Martin @imrodmartin Matt Heisterman @discerningdaddy http://172.16.89.165:10xx

Upload: rod-martin

Post on 23-Aug-2014

291 views

Category:

Internet


0 download

DESCRIPTION

The Absolute Beginner's Guide to Drupal - Training slides from DrupalCon Austin 2014

TRANSCRIPT

Page 1: DrupalCon Austin - Absolute Beginner's Guide to Drupal

rtyeq `qa ̀ `1q`123HJDSQ QFGA

The Absolute Beginner’s Guide to Drupal

Rod Martin @imrodmartin

!

Matt Heisterman @discerningdaddyhttp://172.16.89.165:10xx

Page 2: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Introductions

!

• Myself • Yourself • The people around you

Page 3: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Rod Martin @imrodmartin

[email protected]

Page 4: DrupalCon Austin - Absolute Beginner's Guide to Drupal

~450 Online Lessons & Tutorials

Page 5: DrupalCon Austin - Absolute Beginner's Guide to Drupal

~450 Online Lessons & Tutorials

Cincinnati, Denver, New York, Chicago, Atlanta, San Antonio, Washington DC, Boston, Toronto etc… !

DrupalCon’s Chicago, London, Denver, Portland, Prague and Austin!

DrupalCamp’s Indy & Austin 2011,13 Florida, DrupalCorn, SANDcamp, OHIO (11,12 &13) etc.

Page 6: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Today’s Plan

• Morning and afternoon breaks • Lunch at noon • Finish at 5 p.m. • Cell phones on

mute

Page 7: DrupalCon Austin - Absolute Beginner's Guide to Drupal

After Today

Book Videos Support

Page 8: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Drupal

What? A Content Management System with over 22,000 add-on features.

Page 9: DrupalCon Austin - Absolute Beginner's Guide to Drupal

What is a Content Management System (CMS)?

a software application that makes it possible for non-technical users to publish content to a website. A CMS serves as a store for a wide range of information assets, including text, image databases and so on. www.publiclife.co.uk/glossary.html

Page 10: DrupalCon Austin - Absolute Beginner's Guide to Drupal

What is a Content Management System (CMS)?

Page 11: DrupalCon Austin - Absolute Beginner's Guide to Drupal

What is a Content Management System (CMS)?

Content

Text, editing, links.

Page 12: DrupalCon Austin - Absolute Beginner's Guide to Drupal

What is a Content Management System (CMS)?

Content

Text, editing, links.

Creative DesignSite Design and PageLayout, Information

Architecture, UsabilityDesign - Theme

Page 13: DrupalCon Austin - Absolute Beginner's Guide to Drupal

What is a Content Management System (CMS)?

CMS

PHP, AJAX,JavaScript, etc. -

Drupal

Content

Text, editing, links.

Creative DesignSite Design and PageLayout, Information

Architecture, UsabilityDesign - Theme

Page 14: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Drupal is !

How is that possible? Drupal is run by

volunteers working for Drupal businesses.

!

Drupal is free: but Drupal sites often aren’t.

The Drupal Business Model

Page 15: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Drupal - When?

Started in 2000 by Dries Buytaert a student at a university in Belgium.

Page 16: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Business Behind Drupal

Drupal is still led by it’s founder, Dries Buytaert.

!

His company Acquia runs much of Drupal’s products, services and support

DrupalCon London

Page 17: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Business Behind Drupal

Drupal is still led by it’s founder, Dries Buytaert.

!

His company Acquia runs much of Drupal’s products, services and support

DrupalCon London

Page 18: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Drupal - Who?

• Over 900,000 people on Drupal.org • Around 1,000 active developers • Developers are not paid by Drupal.

Most work for Drupal companies and volunteer some of their time.

Page 19: DrupalCon Austin - Absolute Beginner's Guide to Drupal

What Does Drupal Mean?

Drupal is a misspelling of “drop” in Dutch.

!

That explains the logos:

Page 20: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Users: White House

Page 21: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Department of Commerce

Page 22: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Department of Education

Page 23: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Grammy Awards

Page 24: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Christina Aguilera

Page 25: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Major League Soccer

Page 26: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Rafael Nadal

Page 27: DrupalCon Austin - Absolute Beginner's Guide to Drupal

http://www.drupalshowcase.com/

Page 28: DrupalCon Austin - Absolute Beginner's Guide to Drupal

No False Promises• HUGE learning curve beyond

the basics

Page 29: DrupalCon Austin - Absolute Beginner's Guide to Drupal
Page 30: DrupalCon Austin - Absolute Beginner's Guide to Drupal
Page 31: DrupalCon Austin - Absolute Beginner's Guide to Drupal

No False Promises• HUGE learning curve beyond the basics • Quicker, but good sites still take time • Cheaper, but may cost $XX,XXX or

more • More Options, but custom work often

needed

Page 32: DrupalCon Austin - Absolute Beginner's Guide to Drupal

No False Promises Drupal is not right for every site • WordPress = very easy, but few

features • Joomla = easier, but less flexibility

Page 33: DrupalCon Austin - Absolute Beginner's Guide to Drupal

No False Promises

Page 34: DrupalCon Austin - Absolute Beginner's Guide to Drupal

No False Promises

Page 35: DrupalCon Austin - Absolute Beginner's Guide to Drupal

No False Promises

Page 36: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Why use Drupal 7?• Drupal 5

– Launched 2007. Updates have ended • Drupal 6

– Launched 2008. Not being actively developed and used for ~22% of sites.

• Drupal 7 – Launched 2011.

Page 37: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Why use Drupal 7?• Drupal 5

– Launched 2007. Updates have ended • Drupal 6

– Launched 2008. Not being actively developed and used for ~22% of sites.

• Drupal 7 – Launched 2011.

Page 38: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Drupal Site Building Workflow

Page 39: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Typical Drupal Site

Page 40: DrupalCon Austin - Absolute Beginner's Guide to Drupal
Page 41: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Planning

Page 42: DrupalCon Austin - Absolute Beginner's Guide to Drupal
Page 43: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Planning

• Content Audit • Content Types, Fields, Taxonomy • Extend through Modules • Plan Site Architecture • Layout & Display • Theme

http://www.amazon.com/Drupal-Guide-Planning-Building-Websites/dp/1118066863

Page 44: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Here’s Where We’re Going

Page 45: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Drupal Site Building Workflow

Page 46: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Installation #1 … Automatic

Page 47: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Installation #2 … Manual

Page 48: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Installation #3 … Cloud

Page 49: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Installation #4 ... Desktop

Page 50: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Admin Area

Page 51: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Drupal Site Building Workflow

Page 52: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Content Workflow

1) Content types 2) Fields (if extra data needed) 3) Taxonomy (if categories needed)

• Vocabulary • Terms

4) Path 5) Create Content

Page 53: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Content Workflow1) Content types

• In Drupal, each item of content is called a node, and each node belongs to a single content type, which defines various default settings for nodes of that type, such as whether the node is published automatically and whether comments are permitted.

• Control over how content is added to your site.

• Goes way beyond the typical “Title” and “Body” fields.

Page 54: DrupalCon Austin - Absolute Beginner's Guide to Drupal
Page 55: DrupalCon Austin - Absolute Beginner's Guide to Drupal
Page 56: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Content Workflow

2) Fields•Attached to Drupal entities (content nodes, users, taxonomy vocabularies, etc.) fields take care of storing, loading, editing, and rendering field data. Where content is added to your site.

•Can be sorted, selected, presented in any setting. •Allow for customizing your content for maximum flexibility.

Page 57: DrupalCon Austin - Absolute Beginner's Guide to Drupal

WordPress

Page 58: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Joomla

Page 59: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Content Workflow (Taxonomy)

3) Taxonomy

• Categorization • Set up Master Categories = Vocabulary • Set up Sub Categories = Terms • Drupal then creates master links for

each term

Page 60: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Content Workflow (Taxonomy)

3) Taxonomy

• Categorization • Set up Master Categories = Vocabulary • Set up Sub Categories = Terms • Drupal then creates master links for

each term

Page 61: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Content Workflow

3) Path - set up the pattern for human friendly URLs

!

4) Add Content

Page 62: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Content Workflow

1) Content types 2) Fields (if extra data needed) 3) Taxonomy (if categories needed)

• Vocabulary • Terms

4) Path 5) Create Content

Page 63: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Drupal Site Building Workflow

Page 64: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Drupal Site Building Workflow

Modules = Features

Page 65: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Layout

Page 66: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Layout

Page 67: DrupalCon Austin - Absolute Beginner's Guide to Drupal

A. Modules Workflow

1) Research 2) Install 3) Enable 4) Configure

Page 68: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Modules

drupal.org/project/modules

DrupalModules.com

Page 69: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Install Modules

Page 70: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Layout Recap

Page 71: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Layout Recap

Page 72: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Drupal Site Building Workflow

Page 73: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Themes

Each theme has different block positions

Page 74: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Theme Sources

1) Free themes

2) Commercial themes ($50 to $250)

3) Theme Generator ($100)

4) Custom ($2000 and upwards)

Page 75: DrupalCon Austin - Absolute Beginner's Guide to Drupal

1) Free Themes

Drupal.org/project/Themes

Page 76: DrupalCon Austin - Absolute Beginner's Guide to Drupal

2) Commercial Themes

FusionDrupalThemes.com

and a host of others (google it...)

Page 77: DrupalCon Austin - Absolute Beginner's Guide to Drupal

3) Theme Generator

Artisteer.com ($129)

Page 78: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Layout Recap

Page 79: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Layout Recap

Page 80: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Blocks

Page 81: DrupalCon Austin - Absolute Beginner's Guide to Drupal

http://www.engadget.com/2009/02/02/but-wait-theres-more-t-mobile-lets-you-buy-with-four-easy-pay/

Page 82: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Views

Selects, orders, presents your content or any part/combination of it based on the criteria you define.

Page 83: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Views Workflow

1. Display 2. Format 3. Fields 4. Filter 5. Sort

Page 84: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Drupal Views

1. Display 2. Format 3. Fields 4. Filter 5. Sort

Page 85: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Drupal Views

1. Display 2. Format 3. Fields 4. Filter 5. Sort

Page 86: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Panels Module

• Takes the views we create then controls access and layout of the content.

• “Blocks with brains”... – Provides context for our views (user, node,

fields, taxonomy, search, custom... and more) – Use panes anywhere - exportable.

Page 87: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Panels Module

Page 88: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Modules for Layout/Display

• http://blip.tv/drupalcon/different-ways-to-control-your-layout-6318577 !

• Views - in Drupal 8 Core

http://www.esquire.com/style/answer-fella/history-of-applause-0209 Mark Matcho

Page 89: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Modules for Layout/Display

• http://blip.tv/drupalcon/different-ways-to-control-your-layout-6318577 !

• Views - in Drupal 8 Core

http://www.esquire.com/style/answer-fella/history-of-applause-0209 Mark Matcho

Page 90: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Modules for Layout/Display

• http://blip.tv/drupalcon/different-ways-to-control-your-layout-6318577 !

• Views - in Drupal 8 Core• Panels / Panelizer • Display Suite • Context • Bean / Template Field Module http://www.esquire.com/style/answer-fella/history-of-applause-0209

Mark Matcho

Page 91: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Panels Workflow

1) Panels > Panel Page 2) Basic settings 3) Choose the layout 4) Place the content

Page 92: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Display SuiteDisplay Suite allows you to take full control over how your content is displayed using a drag and drop interface. Arrange your nodes, views, comments, user data etc. the way you want without having to work your way through dozens of template files. A predefined list of layouts (D7 only) is available for even more drag and drop fun!

Page 93: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Drupal Site Building Workflow

Page 94: DrupalCon Austin - Absolute Beginner's Guide to Drupal

People Workflow

1) Roles 2) Permissions 3) Users 4) Masquerade

module to test user accounts

Page 95: DrupalCon Austin - Absolute Beginner's Guide to Drupal

The Drupal Site Building Workflow Things to remember...

Page 96: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Content Workflow

1) Content types 2) Fields (if extra data needed) 3) Taxonomy (if categories needed)

• Vocabulary • Terms

4) Path 5) Create Content

Page 97: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Layout

Page 98: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Modules / Themes Workflow

1) Research 2) Install 3) Enable 4) Configure

Page 99: DrupalCon Austin - Absolute Beginner's Guide to Drupal

User Workflow

1) Roles 2) Permissions 3) Users 4) Masquerade module

to test user accounts

Page 100: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Drupal Beginner Workflow

1) Plan! 2) Install (4 ways) 3) Create (Content) 4) Extend (Modules) 5) Design (Views, Panels &Themes) 6) People 7) Practice, Practice, Practice

(OSTraining.com)

Page 101: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Put it all together...

Page 102: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Over to you …

Page 103: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Favorite Modules

http://www.slideshare.net/imrodmartin/45-in45drupal

Page 104: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Practice, Practice, Practice

Page 105: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Resources!DrupalCon Denver: http://blip.tv/drupalcondenver !Other DrupalCons: http://blip.tv/drupalcon !Later DrupalCons: http://www.youtube.com/user/DrupalAssociation !Slides: http://www.slideshare.net/imrodmartin/45-in45drupal

Page 106: DrupalCon Austin - Absolute Beginner's Guide to Drupal

Your Opinion Please!

Page 107: DrupalCon Austin - Absolute Beginner's Guide to Drupal