Transcript
Page 1: Basic Drupal Recipes - BADCamp 2009

Basic Drupal Recipes and Best Practices for Beginners

BADCamp – October 17th, 2009

Welcome to the Jungle

http://www.!ickr.com/photos/magtravels/85630949/

Page 2: Basic Drupal Recipes - BADCamp 2009

Carl Wiedemann

c4rl on IRC, drupal.org

Page 3: Basic Drupal Recipes - BADCamp 2009

Why Recipes & Best Practices?

Page 4: Basic Drupal Recipes - BADCamp 2009

Reason 1

Not a lot of guidance out of the box...

Page 5: Basic Drupal Recipes - BADCamp 2009

Reason 2

2886...

So many modules. So little time.

Page 6: Basic Drupal Recipes - BADCamp 2009

Is there a right better way?

Reason 3

“This is what worked for me...”

Page 7: Basic Drupal Recipes - BADCamp 2009

Part I: Some Remarks on Planning

Page 8: Basic Drupal Recipes - BADCamp 2009

The Linear Pitfall

Design Function Content

Page 9: Basic Drupal Recipes - BADCamp 2009

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam et neque eget odio pretium bibendum. Proin ipsum lacus, lobortis in, fringilla ut, tincidunt quis, arcu. Aliquam placerat consectetuer tortor. Vivamus tristique, velit ut adipiscing eleifend, urna turpis

accumsan diam, ut volutpat tortor pede eget erat. Proin nulla justo, rhoncus ac, feugiat sed, dapibus tincidunt, massa. Aliquam

porttitor imperdiet nunc. Vestibulum congue. Fusce dignissim risus at sapien. Nam bibendum, quam in imperdiet egestas, ligula

nisl scelerisque libero, volutpat porta dolor ligula sed risus. Pellentesque eget arcu in libero facilisis posuere. Donec ipsum.

Proin et magna. Aliquam erat volutpat. Mauris risus arcu, rhoncus nec, facilisis quis, tincidunt non, elit. Vivamus lacinia dui ut pede. Sed odio. Sed ante elit, fermentum eget, congue vel, dapibus at,

nulla. Proin non magna sit amet elit mattis porttitor. Maecenas ac massa at nulla ornare viverra. Donec eu mi. Praesent ut justo at

Page 10: Basic Drupal Recipes - BADCamp 2009

http://www.!ickr.com/photos/red_devil/285974306/

Page 11: Basic Drupal Recipes - BADCamp 2009

Planning vs Building

Design Function Content

Design Function Content

Page 12: Basic Drupal Recipes - BADCamp 2009

Strategy vs Planning vs Building

Design Function Content

Design Function Content

Purpose + Audience + Actions

Page 13: Basic Drupal Recipes - BADCamp 2009

Part II: Building a Site

Page 14: Basic Drupal Recipes - BADCamp 2009

My my, where to begin?

With a special new tool...

Page 15: Basic Drupal Recipes - BADCamp 2009

http://www.!ickr.com/photos/lucastheexperience/3469305764/

Paper Prototyping!

Page 16: Basic Drupal Recipes - BADCamp 2009
Page 17: Basic Drupal Recipes - BADCamp 2009
Page 18: Basic Drupal Recipes - BADCamp 2009
Page 19: Basic Drupal Recipes - BADCamp 2009
Page 20: Basic Drupal Recipes - BADCamp 2009
Page 21: Basic Drupal Recipes - BADCamp 2009
Page 22: Basic Drupal Recipes - BADCamp 2009
Page 23: Basic Drupal Recipes - BADCamp 2009
Page 24: Basic Drupal Recipes - BADCamp 2009

First Steps

The Admin Section

DEMO

Page 25: Basic Drupal Recipes - BADCamp 2009

First Steps

Roles and User Settings

DEMO

Page 26: Basic Drupal Recipes - BADCamp 2009

First Steps

Viewing the site as multiple users

DEMO

Page 27: Basic Drupal Recipes - BADCamp 2009

First Steps

Content Types and Nodes

Page 28: Basic Drupal Recipes - BADCamp 2009

http://www.!ickr.com/photos/andorus/3103310776/

Page 29: Basic Drupal Recipes - BADCamp 2009

First Steps

Content Types and Nodes

DEMO

Page 30: Basic Drupal Recipes - BADCamp 2009

Section by Section

Services Page Home Page

DEMO

Page 31: Basic Drupal Recipes - BADCamp 2009

Section by Section

Events Calendar Blog

Downloads

Page 32: Basic Drupal Recipes - BADCamp 2009

All of these are lists of nodes, grouped by type

Page 33: Basic Drupal Recipes - BADCamp 2009

CCK + Views

Page 34: Basic Drupal Recipes - BADCamp 2009

CCK + Views Add new !elds to content types:

Text, numeric, date, !les, images, video...

Page 35: Basic Drupal Recipes - BADCamp 2009

CCK + Views Add new !elds to content types:

Text, numeric, date, !les, images, video...

Create a list of nodes using !lters, ordering,

!elds, display

Page 36: Basic Drupal Recipes - BADCamp 2009
Page 37: Basic Drupal Recipes - BADCamp 2009

Blog

CCK + Views Title Body

Filter: type = blog Display: teaser

Order: date (desc)

Page 38: Basic Drupal Recipes - BADCamp 2009
Page 39: Basic Drupal Recipes - BADCamp 2009

Events Calendar

CCK + Views Title

Date + Time Location

Description

Filter: type = event Filter: dates in future

Display: all !elds Order: date (ascending)

Page 40: Basic Drupal Recipes - BADCamp 2009
Page 41: Basic Drupal Recipes - BADCamp 2009

Downloads

CCK + Views Title

File upload Filter: type = download

Display: Title, link Order: Custom, title

Page 42: Basic Drupal Recipes - BADCamp 2009

Section by Section

Events Calendar Blog

Downloads

DEMO

Page 43: Basic Drupal Recipes - BADCamp 2009

Section by Section

Contact Us

Page 44: Basic Drupal Recipes - BADCamp 2009
Page 45: Basic Drupal Recipes - BADCamp 2009

Section by Section

Contact Us

DEMO

Page 46: Basic Drupal Recipes - BADCamp 2009

Now what??

Page 47: Basic Drupal Recipes - BADCamp 2009

Thinking in Drupal

Page 48: Basic Drupal Recipes - BADCamp 2009

Basic Drupal Recipes and Best Practices for Beginners

BADCamp – October 17th, 2009

Thanks! Q+A

http://www.!ickr.com/photos/magtravels/85630949/ Licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License

http://creativecommons.org/licenses/by-nc-sa/3.0/us/


Top Related