drupal beginner training · drupal • what? a content management system with over 22,000 add-on...

100
Drupal Beginner Training Rod Martin @imrodmartin http://bit.ly/1834sUE

Upload: vonhan

Post on 12-Sep-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Drupal Beginner Training

Rod Martin@imrodmartin

http://bit.ly/1834sUE

Page 2: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Introductions

• Myself• Yourself• The people sitting

next to you

Page 3: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Rod Martin@imrodmartin

[email protected]

Page 4: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Support After the Class Book Videos Support

Page 5: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Drupal

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

Page 6: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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 7: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

What is a Content Management System (CMS)?

Page 8: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

What is a Content Management System (CMS)?

ContentText, editing, links.

Page 9: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

What is a Content Management System (CMS)?

ContentText, editing, links.

Creative DesignSite Design and PageLayout, Information

Architecture, Usability Design - Theme

Page 10: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

What is a Content Management System (CMS)?

Technical DesignPHP, AJAX,

JavaScript, etc. - Drupal

ContentText, editing, links.

Creative DesignSite Design and PageLayout, Information

Architecture, Usability Design - Theme

Page 11: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

The Drupal Business Model

Drupal is free.

How is that possible? Drupal is run by volunteers working for Drupal businesses.

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

Page 12: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Drupal - When?

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

Page 13: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Drupal - Who?

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

work for Drupal companies and volunteer some of their time.

Page 14: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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 15: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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 16: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

What Does Drupal Mean?

Drupal is a misspelling of “drop” in Dutch.

That explains the logos:

Page 17: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Users: White House

Page 18: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Department of Commerce

Page 19: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Department of Education

Page 20: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Grammy Awards

Page 21: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Christina Aguilera

Page 22: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Major League Soccer

Page 23: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Rafael Nadal

Page 24: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes
Page 25: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

No False Promises

• HUGE learning curve beyond the basics

Page 26: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes
Page 27: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes
Page 28: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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 29: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

No False Promises

Drupal is not right for every site• WordPress = very easy, but few features• Joomla = easier, but less flexibility

Page 30: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

No False Promises

Page 31: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

No False Promises

Page 32: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

No False Promises

Page 33: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Why use Drupal 7?

• Drupal 5 – Launched 2007. Updates have ended

• Drupal 6– Launched 2008. Still actively developed

and used for 95% of sites.• Drupal 7

– Launched 2011.

Page 34: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Why use Drupal 7?

• Drupal 5 – Launched 2007. Updates have ended

• Drupal 6– Launched 2008. Still actively developed

and used for 95% of sites.• Drupal 7

– Launched 2011.

Page 35: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Why use Drupal 7?

• Drupal 5 – Launched 2007. Updates have ended

• Drupal 6– Launched 2008. Still actively developed

and used for 95% of sites.• Drupal 7

– Launched 2011.

Page 36: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Any Questions?

Page 37: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

The Drupal Site Building Workflow

Page 38: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Planning

Page 39: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Typical Drupal Site

Page 40: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes
Page 41: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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

Page 42: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

The Drupal Site Building Workflow

Page 43: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Installation #1 … Automatic

Page 44: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Installation #2 … Manual

Page 45: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Installation #3 … Cloud

Page 46: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Installation #4 ... Desktop

Page 47: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Installation #4 ... Desktop

Page 48: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Installation #4 ... Desktop

Page 49: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Admin Area

Username: adminPassword: admin

Page 50: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Admin Area

Page 51: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Let’s Touch the Important Ones

1. Add a block2. Change the logo

(http://ntihost.net/drupalville-logo.png)3. Turn off a module4. Change the site name5. Add some content

Page 52: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Content Workflow

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

• Vocabulary• Terms

4) Create Content

Page 53: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Content Workflow

2) FieldsAttached 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 55: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Content Workflow

3) Create Content

(list of favorite modules coming at the end)

Page 56: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes
Page 57: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes
Page 58: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

The Drupal Site Building Workflow

Page 59: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

A. Modules Workflow

1) Research2) Install3) Enable4) Configure

Page 60: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

drupal.org/project/modules

DrupalModules.com

Page 61: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Upload ModulesFiles needed to be uploaded to either:

/sites/all/modules/ or:

/sites/default/modules/

*** do not upload to /modules/

Page 62: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Upload ModulesFiles needed to be uploaded to either:

/sites/all/modules/ or:

/sites/default/modules/

*** do not upload to /modules/

x

Page 63: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Upload ModulesFiles needed to be uploaded to either:

/sites/all/modules/ or:

/sites/default/modules/

*** do not upload to /modules/

x

Page 64: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

The Drupal Site Building Workflow

Page 65: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes
Page 66: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes
Page 67: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

ThemesEach theme has different block positions

Page 68: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Theme Sources

1) Free themes

2) Commercial themes ($50 to $250)

3) Theme Generator ($100)

4) Custom ($2000 and upwards)

Page 69: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

1) Free ThemesDrupal.org/project/Themes

Page 70: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

2) Commercial Themes

FusionDrupalThemes.com

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

Page 71: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

3) Theme GeneratorArtisteer.com ($129)

Page 72: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes
Page 73: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes
Page 74: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Blocks

Page 75: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Views

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

Page 76: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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

Page 77: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Views Workflow

1. Display2. Format3. Fields4. Filter5. Sort

Page 78: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Drupal Views

1. Display2. Format3. Fields4. Filter5. Sort

Page 79: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Drupal Views

1. Display2. Format3. Fields4. Filter5. Sort

Page 80: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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 81: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

The Panels Module

Page 82: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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-0209Mark Matcho

Page 83: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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-0209Mark Matcho

Page 84: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

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-0209Mark Matcho

Page 85: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Panels Workflow

1) Panels > Panel Page2) Basic settings3) Choose the layout4) Place the content

Page 86: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Display Suite

• Display 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 87: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

The Drupal Site Building Workflow

Page 88: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

People Workflow

1) Roles2) Permissions3) Users4) Masquerade module to

test user accounts

Page 89: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

The Drupal Site Building WorkflowThings to remember...

Page 90: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Content Workflow

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

• Vocabulary• Terms

4) Create Content

Page 91: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Extend/Design Workflow

Page 92: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Modules / Themes Workflow

1) Research2) Install3) Enable4) Configure

Page 93: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

User Workflow

1) Roles2) Permissions3) Users4) Masquerade module to

test user accounts

Page 94: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Drupal Beginner Workflow

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

(OSTraining.com)

Page 95: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Put it all together...

Page 96: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Over to you …

Page 97: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Favorite ModulesAdvanced Help

• Chaos tools • Developer module • Display Suite: • Link • Views, Views UI • Votingapi • Workbench • Date• Panels• Entity Reference• WYSIWYG• IMCE / IMCE MkDir

• Pathauto• Scheduler• Token• LinkIt• CAPTCHA / Text Captcha• Webforms• Lightbox2• Views Slideshow / Cycle• XML Sitemap• Administrator Menu?

• to see the top modules - drupalmodules.com

Page 98: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Practice, Practice, Practice

Sign up at http://www.ostraining.com/signup

use coupon code: drupalconprague

Page 99: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes

Resourceshttp://www.slideshare.net/imrodmartin/

DrupalCon Denver:http://blip.tv/drupalcondenver

Other DrupalCons: http://blip.tv/drupalcon

Later DrupalCons: http://www.youtube.com/user/DrupalAssociation

Page 100: Drupal Beginner Training · Drupal • What? A Content Management System with over 22,000 add-on features. What is a Content Management System (CMS)? a software application that makes