absolute beginners guide to drupal

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

Upload: rod-martin

Post on 08-May-2015

3.917 views

Category:

Technology


0 download

DESCRIPTION

The Absolute Beginner's Guide to Drupal - presented at DrupalCampOH 2012 in Columbus, OH

TRANSCRIPT

Drupal Beginner Training

Rod Martin@imrodmartin

http://bit.ly/1834sUE

Introductions

• Myself• Yourself• The people sitting

next to you

Rod Martin@imrodmartin

[email protected]

Support After the Class Book Videos Support

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 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

What is a Content Management System (CMS)?

What is a Content Management System (CMS)?

ContentText, editing, links.

What is a Content Management System (CMS)?

ContentText, editing, links.

Creative DesignSite Design and PageLayout, Information

Architecture, Usability Design - Theme

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

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.

Drupal - When?

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

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.

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

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

What Does Drupal Mean?

Drupal is a misspelling of “drop” in Dutch.

That explains the logos:

Users: White House

Department of Commerce

Department of Education

Grammy Awards

Christina Aguilera

Major League Soccer

Rafael Nadal

No False Promises

• HUGE learning curve beyond the basics

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

No False Promises

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

No False Promises

No False Promises

No False Promises

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.

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.

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.

Any Questions?

The Drupal Site Building Workflow

Planning

Typical Drupal Site

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

The Drupal Site Building Workflow

Installation #1 … Automatic

Installation #2 … Manual

Installation #3 … Cloud

Installation #4 ... Desktop

Installation #4 ... Desktop

Installation #4 ... Desktop

Admin Area

Username: adminPassword: admin

Admin Area

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

Content Workflow

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

• Vocabulary• Terms

4) Create Content

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.

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.

Content Workflow

3) Create Content

(list of favorite modules coming at the end)

The Drupal Site Building Workflow

A. Modules Workflow

1) Research2) Install3) Enable4) Configure

drupal.org/project/modules

DrupalModules.com

Upload ModulesFiles needed to be uploaded to either:

/sites/all/modules/ or:

/sites/default/modules/

*** do not upload to /modules/

Upload ModulesFiles needed to be uploaded to either:

/sites/all/modules/ or:

/sites/default/modules/

*** do not upload to /modules/

x

Upload ModulesFiles needed to be uploaded to either:

/sites/all/modules/ or:

/sites/default/modules/

*** do not upload to /modules/

x

The Drupal Site Building Workflow

ThemesEach theme has different block positions

Theme Sources

1) Free themes

2) Commercial themes ($50 to $250)

3) Theme Generator ($100)

4) Custom ($2000 and upwards)

1) Free ThemesDrupal.org/project/Themes

2) Commercial Themes

FusionDrupalThemes.com

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

3) Theme GeneratorArtisteer.com ($129)

Blocks

Views

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

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

Views Workflow

1. Display2. Format3. Fields4. Filter5. Sort

Drupal Views

1. Display2. Format3. Fields4. Filter5. Sort

Drupal Views

1. Display2. Format3. Fields4. Filter5. Sort

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.

The Panels Module

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

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

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

Panels Workflow

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

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!

The Drupal Site Building Workflow

People Workflow

1) Roles2) Permissions3) Users4) Masquerade module to

test user accounts

The Drupal Site Building WorkflowThings to remember...

Content Workflow

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

• Vocabulary• Terms

4) Create Content

Extend/Design Workflow

Modules / Themes Workflow

1) Research2) Install3) Enable4) Configure

User Workflow

1) Roles2) Permissions3) Users4) Masquerade module to

test user accounts

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)

Put it all together...

Over to you …

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

Practice, Practice, Practice

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

use coupon code: drupalconprague

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