Download - 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/
Carl Wiedemann
c4rl on IRC, drupal.org
Why Recipes & Best Practices?
Reason 1
Not a lot of guidance out of the box...
Reason 2
2886...
So many modules. So little time.
Is there a right better way?
Reason 3
“This is what worked for me...”
Part I: Some Remarks on Planning
The Linear Pitfall
Design Function Content
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
http://www.!ickr.com/photos/red_devil/285974306/
Planning vs Building
Design Function Content
Design Function Content
Strategy vs Planning vs Building
Design Function Content
Design Function Content
Purpose + Audience + Actions
Part II: Building a Site
My my, where to begin?
With a special new tool...
http://www.!ickr.com/photos/lucastheexperience/3469305764/
Paper Prototyping!
First Steps
The Admin Section
DEMO
First Steps
Roles and User Settings
DEMO
First Steps
Viewing the site as multiple users
DEMO
First Steps
Content Types and Nodes
http://www.!ickr.com/photos/andorus/3103310776/
First Steps
Content Types and Nodes
DEMO
Section by Section
Services Page Home Page
DEMO
Section by Section
Events Calendar Blog
Downloads
All of these are lists of nodes, grouped by type
CCK + Views
CCK + Views Add new !elds to content types:
Text, numeric, date, !les, images, video...
CCK + Views Add new !elds to content types:
Text, numeric, date, !les, images, video...
Create a list of nodes using !lters, ordering,
!elds, display
Blog
CCK + Views Title Body
Filter: type = blog Display: teaser
Order: date (desc)
Events Calendar
CCK + Views Title
Date + Time Location
Description
Filter: type = event Filter: dates in future
Display: all !elds Order: date (ascending)
Downloads
CCK + Views Title
File upload Filter: type = download
Display: Title, link Order: Custom, title
Section by Section
Events Calendar Blog
Downloads
DEMO
Section by Section
Contact Us
Section by Section
Contact Us
DEMO
Now what??
Thinking in Drupal
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/