SlideShare a Scribd company logo
1 of 79
Download to read offline
From Photoshop to
 Drupal theme
 Creating a Drupal-optimized design




Todd Nienkerk and Aaron Stanush
DrupalCon San Francisco | April 19, 2010
Personal introductions
Todd Nienkerk
                         Co-founder, designer, and developer
                         Four Kitchens

                         todd@fourkitchens.com

                         @toddross




Photo: Kristin Hillery
Aaron Stanush
Co-founder and designer
Four Kitchens

aaron@fourkitchens.com

@astanush
Prologue:
 Anatomy of a Drupal
 theme


See drupal.org/node/171194 for more information
What is a Drupal theme?
A Drupal theme is simply a collection
of ļ¬les uploaded to a speciļ¬c
directory.
This is what
Drupal looks like
 out of the box


The only directory
you need to worry
  about is /sites
Core themes are
stored in /themes


DO NOT put your
 themes here!
Themes should be
  uploaded to
/sites/all/themes



You will need to
   create this
 directory after
installing Drupal
To add a new
theme, upload it to
/sites/all/themes
Drupal themes need
   very few ļ¬les
Drupal themes need
   very few ļ¬les


   mytheme.info
deļ¬nes the theme
Drupal themes need
   very few ļ¬les


   mytheme.info
deļ¬nes the theme


 .tpl.php ļ¬les are
  ā€œtemplateā€ ļ¬les
Template ļ¬les
ā€£   Contain a themeā€™s markup
    ā€£   Just HTML and a little bit of PHP
ā€£   Each template ļ¬le is responsible for a di erent
    piece of the page
ā€£   The most commonly used template ļ¬les are:
    ā€£   page.tpl.php

    ā€£   block.tpl.php

    ā€£   node.tpl.php
page.tpl.php
                                 header region

The page template
is the themeā€™s
ā€œmainā€ template
                         left                       right
It assembles all the   sidebar   content region   sidebar
pieces into a          region                     region

ļ¬nished page
The page includes
ā€œregionsā€ (header,
footer, etc.)                    footer region
node.tpl.php

The node template
renders the
content portion of
the page
The node template
also renders node
teasers
node.tpl.php

The node template
renders the
content portion of
the page
The node template
also renders node
teasers
Multiple nodes can
appear on page
block.tpl.php

The block
template renders
each block on a
page
block.tpl.php

The block
template renders
each block on a
page                  left      right
                    sidebar   sidebar
Blocks are placed   region    region

in the regions
ā€£   When Drupal renders a page, it works from the
    inside out
node.tpl.php
block.tpl                  block.tpl




block.tpl   node.tpl.php   block.tpl




block.tpl                  block.tpl
page.tpl.php




block.tpl                   block.tpl




block.tpl    node.tpl.php   block.tpl




block.tpl                   block.tpl
ā€£   When you understand how themes work, you can
    easily create a Drupal-optimized design
Step 1:
Stop! Close Photoshop!
You wouldnā€™t paint a house before
building it...
So how can you design a website
before architecting it?
Before you design, ask:
ā€£   Whatā€™s the purpose of the site?
ā€£   What kind of content will the site contain?
ā€£   How will content be organized?
Deļ¬ne the site
ā€œWhatā€™s the purpose of the site?ā€
List your goals

                   Build a
                 community                         Raise
  Generate
                                                 awareness
    buzz
                  Make
                 money!         Make
                               money!




 Make money!                                Make money!
                           Make
                          money!
                Make                     Make
               money!                   money!
Describe your site in two
words or less
              Community site
                                Brochureware
     Blog


 Viral campaign                Online store


            Fan site      lolcat clone
Deļ¬ne the content
ā€œWhat kind of content will the site contain?ā€
ā€£   In Drupal, di erent kinds of content are called
    content types.
ā€£   Content types are usually deļ¬ned by the di erent
    information they contain.
Blog post        Product
Title            Name

Author           Description

Date published   Price

Body             Options (sizes, colors)

Lead image       Images
Create a sitemap and
wireframes
ā€œHow will content be organized?ā€
Sitemaps
ā€£   List all sections of the site
ā€£   Illustrate how content is organized within the
    sections
Home
page

  Primary menu
                                                            Most
   Science        Sports          Business       Arts
                                                           popular


   Blog post      Blog post       Blog post    Blog post   Blog post




  Secondary menu
       About us           Terms of use        Contact us



  User tools
  My account             Search
Wireframes
ā€£   Illustrate page layout and functionality
ā€£   Demonstrate how a user will navigate the site
ā€£   Use placement of key components to reinforce the
    goals of the site
    ā€£   Shopping cart icon
    ā€£   Revenue-generating ads
My account | Log out
           Blog Logo
                                                                Search

Science
Sports
                                                             Most popular
Business
                                                                posts
Arts


                                Content


                                                             Advertisement




Copyright 2010 BlogCorp, Inc.             About us | Contact us | Terms of use
Brainstorming should happen using
wireframes, not design comps or
mockups.
Case study: Spatula City
Spatula City is relaunching their website. It will be
the largest spatula site ever built!
Deļ¬ne the site
Goals                          Description
ā€£   Build awareness of         ā€£   ā€œOnline storeā€
    the Spatula City brand
ā€£   Be the Amazon.com
    of online spatula retail
ā€£   Make money!
Deļ¬ne content types
ā€£   Product            Product
ā€£   Frequently asked   Name
    question (FAQ)
                       Description
ā€£   Page
                       Price

                       Color options

                       Image
Create a sitemap
Home
page

  Primary menu
   Spatulas           Spatulas        Build-A-
                                                     FAQ         Contact us
   by type            by color        Spatula

                                                           Question
       Spatula page
                                                            page



  Secondary menu
  Retail locations         About us       Terms of use


  User tools
  My account           Shopping cart        Search
Create the wireframes
My account Shopping cart Log out
         Logo
                                                                        Search

Browse by type   Browse by color   Build-A-Spatula       Contact us              FAQ




                                                                       Top rated
                                                                        content

                       Content


                                                                        Promo



Copyright text                                       About us   Retail locations Terms of use
Step 2:
Translate the wireframes
into ā€œDrupalspeakā€
Most Drupal themes are comprised of
just a few, basic components.
ā€£   Content
    ā€£   Usually a node, view, or panel
        ā€£   Nodes are themed using node.tpl.php
    ā€£   Can also be a user proļ¬le or admin interface
ā€£   Blocks
    ā€£   Can contain virtually anything: user login, menus,
        lists of content, custom HTML, views...
    ā€£   Appear in regions (usually sidebars, but
        sometimes in the header or footer regions)
    ā€£   Themed using block.tpl.php
ā€£   Menus
    ā€£   Added to the page as blocks
ā€£   Primary and secondary links
    ā€£   Navigation
    ā€£   Special kinds of menus
ā€£   Logo
ā€£   Search box
ā€£   Footer message
ā€£   All of these are page-level components that are
    themed in page.tpl.php
My account Shopping cart Log out
         Logo
                                                                        Search

Browse by type   Browse by color   Build-A-Spatula       Contact us              FAQ




                                                                       Top rated
                                                                        content

                       Content


                                                                        Promo



Copyright text                                       About us   Retail locations Terms of use
My account Shopping cart Log out
         Logo
                                                                        Search

Browse by type   Browse by color   Build-A-Spatula       Contact us              FAQ

                   Content (node)


                                                                       Top rated
                                                                        content

                       Content


                                                                        Promo



Copyright text                                       About us   Retail locations Terms of use
Menu (block)
                                                        My account Shopping cart Log out
         Logo
                                                                        Search

Browse by type   Browse by color   Build-A-Spatula       Contact us              FAQ

                   Content (node)                                        Block


                                                                       Top rated
                                                                        content

                       Content
                                                                         Block

                                                                        Promo



Copyright text                                       About us   Retail locations Terms of use
Menu (block)
                                                        My account Shopping cart Log out
         Logo
                                                                         Search
                                   Primary links
Browse by type   Browse by color   Build-A-Spatula       Contact us               FAQ

                   Content (node)                                         Block


                                                                        Top rated
                                                                         content

                       Content
                                                                          Block

                                                                         Promo


                                                                Secondary links
Copyright text                                       About us    Retail locations Terms of use
Logo                                                      Menu (block)
                                                        My account Shopping cart Log out
         Logo                                                         Search box
                                                                        Search
                                   Primary links
Browse by type   Browse by color   Build-A-Spatula       Contact us               FAQ

                   Content (node)                                         Block


                                                                        Top rated
                                                                         content

                       Content
                                                                          Block

                                                                         Promo


         Footer message                                         Secondary links
Copyright text                                       About us    Retail locations Terms of use
Youā€™re not designing a website...
Youā€™re designing a web system.
Step 3:
Design your site
(You may now open Photoshop!)
ā€£   Now you can make informed decisions about how
    to create a compelling and e ective design
ā€£   Use your wireframes as blueprints
ā€£   Let the theme components inform your design
Designing the new
Spatula City
My account Shopping cart Log out
         Logo
                                                                      Search box

Browse by type   Browse by color   Build-A-Spatula       Contact us              FAQ




                                                                       Top rated
                                                                        content

                       Content


                                                                        Promo



Copyright text                                       About us   Retail locations Terms of use
Step 4:
Build your theme
Theming is simply a matter of
changing the markup in the template
ļ¬les and adding your own CSS.
node.tpl.php
block.tpl.php




node.tpl.php   block.tpl.php




               block.tpl.php
page.tpl.php
Primary links




                Secondary links
Logo
                                   Search box

                 Primary links




Footer message                   Secondary links
Better. Faster. Cheaper.
How to accelerate the design and theming phases
of your project
Know what Drupal wants
to do
ā€£   Know what Drupalā€™s default output looks like
    ā€£   Stark theme: drupal.org/project/stark
ā€£   Know the default regions
    ā€£   left, right, content, header, and footer
    ā€£   Assigning content to regions:
        drupal.org/node/171224
Use template suggestions
ā€£   Youā€™re not limited to a single template per
    component!
    ā€£   For example, each content type can have its own
        node.tpl.php ļ¬le

ā€£   Learn more at drupal.org/node/190815
Subtheme
ā€£   Subthemes, their structure and inheritance:
    drupal.org/node/225125
ā€£   Zen: drupal.org/project/zen
Use a grid system
ā€£   NineSixty: drupal.org/project/ninesixty
    ā€£   Drupal port of the 960.gs grid system
    ā€£   Zen NineSixty: drupal.org/project/zen_ninesixty
ā€£   Blueprint: drupal.org/project/blueprint
    ā€£   Drupal port of the Blueprint CSS framework
Credits
ā€£   The Swedish Chef was created by       ā€£   This presentation was created and
    Jim Henson. Or someone who                delivered by Todd Ross Nienkerk
    worked for him. Whatever the              and Aaron Stanush, co-founders of
    case, we didnā€™t invent him.               Four Kitchens

ā€£   Spatula City is based on an idea by
    the great Weird Al Yankovic,
    internationally renowned accordion
    virtuoso.

ā€£   The items listed above are exempt
    from this presentationā€™s Creative
    Commons license
All content in this presentation, except where noted otherwise, is Creative Commons Attribution-
ShareAlike 3.0 licensed and copyright 2010 Four Kitchen Studios, LLC.

More Related Content

What's hot

How to using word press for web devlop part1 wp title
How to using word press for web devlop  part1 wp titleHow to using word press for web devlop  part1 wp title
How to using word press for web devlop part1 wp titleponnuduraik
Ā 
10 Worst Mistakes in SharePoint Branding
10 Worst Mistakes in SharePoint Branding10 Worst Mistakes in SharePoint Branding
10 Worst Mistakes in SharePoint BrandingMarcy Kellar
Ā 
Patacs wp.com slides_oct_2018_final3
Patacs wp.com slides_oct_2018_final3Patacs wp.com slides_oct_2018_final3
Patacs wp.com slides_oct_2018_final3gvaughan
Ā 
Hyperlink.85 to 86
Hyperlink.85 to 86Hyperlink.85 to 86
Hyperlink.85 to 86myrajendra
Ā 
Breakout media online_business_start_up
Breakout media online_business_start_upBreakout media online_business_start_up
Breakout media online_business_start_upYournxtstep
Ā 
Wp 3hr-course
Wp 3hr-courseWp 3hr-course
Wp 3hr-courseRich Webster
Ā 
Word press course
Word press courseWord press course
Word press courseJudith Gotwald
Ā 
Are you accessible
Are you accessibleAre you accessible
Are you accessibleGeri Druckman
Ā 
SEO Workshop : "Does Google love or hate your website"
SEO Workshop : "Does Google love or hate your website"SEO Workshop : "Does Google love or hate your website"
SEO Workshop : "Does Google love or hate your website"Sylvie de Meeƻs
Ā 
Writing for the web
Writing for the webWriting for the web
Writing for the webJamesCarney
Ā 
BiblioBoard
BiblioBoardBiblioBoard
BiblioBoardsamharlow
Ā 
Web site questions before starting own site (1)
Web site questions before starting own site (1)Web site questions before starting own site (1)
Web site questions before starting own site (1)Eujin Hong
Ā 
How To Find the Right Design Theme For Your Website
 How To Find the Right Design Theme For Your Website How To Find the Right Design Theme For Your Website
How To Find the Right Design Theme For Your WebsiteChelsea O'Brien
Ā 
Blackrock intro presentation
Blackrock intro presentationBlackrock intro presentation
Blackrock intro presentationOwen Forsyth
Ā 
Linkedin presentation cannon moorcroft
Linkedin presentation cannon moorcroftLinkedin presentation cannon moorcroft
Linkedin presentation cannon moorcroftThe Social Media Sensei
Ā 
Rockstar Social Media Commerce
Rockstar Social Media CommerceRockstar Social Media Commerce
Rockstar Social Media Commerceadii
Ā 

What's hot (20)

How to using word press for web devlop part1 wp title
How to using word press for web devlop  part1 wp titleHow to using word press for web devlop  part1 wp title
How to using word press for web devlop part1 wp title
Ā 
10 Worst Mistakes in SharePoint Branding
10 Worst Mistakes in SharePoint Branding10 Worst Mistakes in SharePoint Branding
10 Worst Mistakes in SharePoint Branding
Ā 
Don't Make Me Scroll
Don't Make Me ScrollDon't Make Me Scroll
Don't Make Me Scroll
Ā 
Patacs wp.com slides_oct_2018_final3
Patacs wp.com slides_oct_2018_final3Patacs wp.com slides_oct_2018_final3
Patacs wp.com slides_oct_2018_final3
Ā 
Devlin fmp
Devlin fmpDevlin fmp
Devlin fmp
Ā 
Hyperlink.85 to 86
Hyperlink.85 to 86Hyperlink.85 to 86
Hyperlink.85 to 86
Ā 
Breakout media online_business_start_up
Breakout media online_business_start_upBreakout media online_business_start_up
Breakout media online_business_start_up
Ā 
Wp 3hr-course
Wp 3hr-courseWp 3hr-course
Wp 3hr-course
Ā 
Word press course
Word press courseWord press course
Word press course
Ā 
Are you accessible
Are you accessibleAre you accessible
Are you accessible
Ā 
SEO Workshop : "Does Google love or hate your website"
SEO Workshop : "Does Google love or hate your website"SEO Workshop : "Does Google love or hate your website"
SEO Workshop : "Does Google love or hate your website"
Ā 
Writing for the web
Writing for the webWriting for the web
Writing for the web
Ā 
Is your Website Usable?
Is your Website Usable?Is your Website Usable?
Is your Website Usable?
Ā 
BiblioBoard
BiblioBoardBiblioBoard
BiblioBoard
Ā 
Web site questions before starting own site (1)
Web site questions before starting own site (1)Web site questions before starting own site (1)
Web site questions before starting own site (1)
Ā 
How To Find the Right Design Theme For Your Website
 How To Find the Right Design Theme For Your Website How To Find the Right Design Theme For Your Website
How To Find the Right Design Theme For Your Website
Ā 
Creating Your Own Website 11-13-2016
Creating Your Own Website 11-13-2016Creating Your Own Website 11-13-2016
Creating Your Own Website 11-13-2016
Ā 
Blackrock intro presentation
Blackrock intro presentationBlackrock intro presentation
Blackrock intro presentation
Ā 
Linkedin presentation cannon moorcroft
Linkedin presentation cannon moorcroftLinkedin presentation cannon moorcroft
Linkedin presentation cannon moorcroft
Ā 
Rockstar Social Media Commerce
Rockstar Social Media CommerceRockstar Social Media Commerce
Rockstar Social Media Commerce
Ā 

Similar to From Photoshop to Drupal Theme (DrupalCon San Francisco 2010)

eCommerce Master Class
eCommerce Master ClasseCommerce Master Class
eCommerce Master ClassSMFB ENGINE
Ā 
Don't Design Websites. Design Web SYSTEMS! (DrupalCon Chicago 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCon Chicago 2011)Don't Design Websites. Design Web SYSTEMS! (DrupalCon Chicago 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCon Chicago 2011)Four Kitchens
Ā 
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp Stockholm 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp Stockholm 2011)Don't Design Websites. Design Web SYSTEMS! (DrupalCamp Stockholm 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp Stockholm 2011)Four Kitchens
Ā 
Don't Design Websites. Design Web SYSTEMS! (UT Austin Drupal Users Group)
Don't Design Websites. Design Web SYSTEMS! (UT Austin Drupal Users Group)Don't Design Websites. Design Web SYSTEMS! (UT Austin Drupal Users Group)
Don't Design Websites. Design Web SYSTEMS! (UT Austin Drupal Users Group)Four Kitchens
Ā 
Building a website in less than 3h and less than $100!
Building a website in less than 3h and less than $100! Building a website in less than 3h and less than $100!
Building a website in less than 3h and less than $100! Agence Tesla
Ā 
Awesome e commerce-shopify
Awesome e commerce-shopifyAwesome e commerce-shopify
Awesome e commerce-shopifyMichael Trang
Ā 
Don't Design Websites. Design Web SYSTEMS! (DrupalCon London 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCon London 2011)Don't Design Websites. Design Web SYSTEMS! (DrupalCon London 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCon London 2011)Four Kitchens
Ā 
Website Content Worksheet
Website Content WorksheetWebsite Content Worksheet
Website Content WorksheetYo! Yo! SEO
Ā 
Selling You & Your Services Drupalcon 2009
Selling You & Your Services   Drupalcon 2009Selling You & Your Services   Drupalcon 2009
Selling You & Your Services Drupalcon 2009Neil Giarratana
Ā 
Building An Online Marketing Strategy
Building An Online Marketing StrategyBuilding An Online Marketing Strategy
Building An Online Marketing Strategybrighteyes
Ā 
Anamaria Sencovici - Blogging primer
Anamaria Sencovici - Blogging primerAnamaria Sencovici - Blogging primer
Anamaria Sencovici - Blogging primerRyan Slack
Ā 
Don't Design Websites. Design Web SYSTEMS! (BADCamp 2011)
Don't Design Websites. Design Web SYSTEMS! (BADCamp 2011)Don't Design Websites. Design Web SYSTEMS! (BADCamp 2011)
Don't Design Websites. Design Web SYSTEMS! (BADCamp 2011)Four Kitchens
Ā 
Your website roadmap
Your website roadmapYour website roadmap
Your website roadmapRaaker
Ā 
Process for Online Visibility: From Information Architecture to Killer Content
Process for Online Visibility: From Information Architecture to Killer ContentProcess for Online Visibility: From Information Architecture to Killer Content
Process for Online Visibility: From Information Architecture to Killer ContentYo! Yo! SEO
Ā 
Vertical Search - Brian Combs IS08
Vertical Search - Brian Combs IS08Vertical Search - Brian Combs IS08
Vertical Search - Brian Combs IS08ISconference
Ā 
Wordpress Blogging for Small Businesses
Wordpress Blogging for Small BusinessesWordpress Blogging for Small Businesses
Wordpress Blogging for Small Businessesoneclickva
Ā 
Web Design & Internet Marketing Basics - Brody Dorland, Something Creative, Inc.
Web Design & Internet Marketing Basics - Brody Dorland, Something Creative, Inc.Web Design & Internet Marketing Basics - Brody Dorland, Something Creative, Inc.
Web Design & Internet Marketing Basics - Brody Dorland, Something Creative, Inc.Brody Dorland
Ā 
SharePoint Metadata - Simple to Sublime
SharePoint Metadata - Simple to SublimeSharePoint Metadata - Simple to Sublime
SharePoint Metadata - Simple to Sublimeandycoyle
Ā 

Similar to From Photoshop to Drupal Theme (DrupalCon San Francisco 2010) (20)

eCommerce Master Class
eCommerce Master ClasseCommerce Master Class
eCommerce Master Class
Ā 
Don't Design Websites. Design Web SYSTEMS! (DrupalCon Chicago 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCon Chicago 2011)Don't Design Websites. Design Web SYSTEMS! (DrupalCon Chicago 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCon Chicago 2011)
Ā 
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp Stockholm 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp Stockholm 2011)Don't Design Websites. Design Web SYSTEMS! (DrupalCamp Stockholm 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp Stockholm 2011)
Ā 
Don't Design Websites. Design Web SYSTEMS! (UT Austin Drupal Users Group)
Don't Design Websites. Design Web SYSTEMS! (UT Austin Drupal Users Group)Don't Design Websites. Design Web SYSTEMS! (UT Austin Drupal Users Group)
Don't Design Websites. Design Web SYSTEMS! (UT Austin Drupal Users Group)
Ā 
WiRE
WiREWiRE
WiRE
Ā 
Building a website in less than 3h and less than $100!
Building a website in less than 3h and less than $100! Building a website in less than 3h and less than $100!
Building a website in less than 3h and less than $100!
Ā 
Awesome e commerce-shopify
Awesome e commerce-shopifyAwesome e commerce-shopify
Awesome e commerce-shopify
Ā 
Don't Design Websites. Design Web SYSTEMS! (DrupalCon London 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCon London 2011)Don't Design Websites. Design Web SYSTEMS! (DrupalCon London 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCon London 2011)
Ā 
Website Content Worksheet
Website Content WorksheetWebsite Content Worksheet
Website Content Worksheet
Ā 
Selling You & Your Services Drupalcon 2009
Selling You & Your Services   Drupalcon 2009Selling You & Your Services   Drupalcon 2009
Selling You & Your Services Drupalcon 2009
Ā 
Building An Online Marketing Strategy
Building An Online Marketing StrategyBuilding An Online Marketing Strategy
Building An Online Marketing Strategy
Ā 
Anamaria Sencovici - Blogging primer
Anamaria Sencovici - Blogging primerAnamaria Sencovici - Blogging primer
Anamaria Sencovici - Blogging primer
Ā 
18 Ways to Improve Your Website
18 Ways to Improve Your Website18 Ways to Improve Your Website
18 Ways to Improve Your Website
Ā 
Don't Design Websites. Design Web SYSTEMS! (BADCamp 2011)
Don't Design Websites. Design Web SYSTEMS! (BADCamp 2011)Don't Design Websites. Design Web SYSTEMS! (BADCamp 2011)
Don't Design Websites. Design Web SYSTEMS! (BADCamp 2011)
Ā 
Your website roadmap
Your website roadmapYour website roadmap
Your website roadmap
Ā 
Process for Online Visibility: From Information Architecture to Killer Content
Process for Online Visibility: From Information Architecture to Killer ContentProcess for Online Visibility: From Information Architecture to Killer Content
Process for Online Visibility: From Information Architecture to Killer Content
Ā 
Vertical Search - Brian Combs IS08
Vertical Search - Brian Combs IS08Vertical Search - Brian Combs IS08
Vertical Search - Brian Combs IS08
Ā 
Wordpress Blogging for Small Businesses
Wordpress Blogging for Small BusinessesWordpress Blogging for Small Businesses
Wordpress Blogging for Small Businesses
Ā 
Web Design & Internet Marketing Basics - Brody Dorland, Something Creative, Inc.
Web Design & Internet Marketing Basics - Brody Dorland, Something Creative, Inc.Web Design & Internet Marketing Basics - Brody Dorland, Something Creative, Inc.
Web Design & Internet Marketing Basics - Brody Dorland, Something Creative, Inc.
Ā 
SharePoint Metadata - Simple to Sublime
SharePoint Metadata - Simple to SublimeSharePoint Metadata - Simple to Sublime
SharePoint Metadata - Simple to Sublime
Ā 

More from Four Kitchens

Four Kitchens Presents: Future of the CMS
Four Kitchens Presents: Future of the CMSFour Kitchens Presents: Future of the CMS
Four Kitchens Presents: Future of the CMSFour Kitchens
Ā 
Four Kitchens: We make BIG websites
Four Kitchens: We make BIG websitesFour Kitchens: We make BIG websites
Four Kitchens: We make BIG websitesFour Kitchens
Ā 
No RFPs! Why requests for proposal are bad for business (and how we can stop ...
No RFPs! Why requests for proposal are bad for business (and how we can stop ...No RFPs! Why requests for proposal are bad for business (and how we can stop ...
No RFPs! Why requests for proposal are bad for business (and how we can stop ...Four Kitchens
Ā 
Big Websites for Small Screens: ICANN.org Case Study
Big Websites for Small Screens: ICANN.org Case StudyBig Websites for Small Screens: ICANN.org Case Study
Big Websites for Small Screens: ICANN.org Case StudyFour Kitchens
Ā 
UX design for every screen
UX design for every screenUX design for every screen
UX design for every screenFour Kitchens
Ā 
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp LA 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp LA 2011)Don't Design Websites. Design Web SYSTEMS! (DrupalCamp LA 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp LA 2011)Four Kitchens
Ā 
Accelerated grid theming using NineSixty (DrupalCamp LA 2011)
Accelerated grid theming using NineSixty (DrupalCamp LA 2011)Accelerated grid theming using NineSixty (DrupalCamp LA 2011)
Accelerated grid theming using NineSixty (DrupalCamp LA 2011)Four Kitchens
Ā 
Don't Design Websites. Design Web SYSTEMS! (Dallas Drupal Days 2011)
Don't Design Websites. Design Web SYSTEMS! (Dallas Drupal Days 2011)Don't Design Websites. Design Web SYSTEMS! (Dallas Drupal Days 2011)
Don't Design Websites. Design Web SYSTEMS! (Dallas Drupal Days 2011)Four Kitchens
Ā 
Building Responsive Websites and Apps with Drupal
Building Responsive Websites and Apps with DrupalBuilding Responsive Websites and Apps with Drupal
Building Responsive Websites and Apps with DrupalFour Kitchens
Ā 
Accelerated grid theming using NineSixty (Dallas Drupal Days 2011)
Accelerated grid theming using NineSixty (Dallas Drupal Days 2011)Accelerated grid theming using NineSixty (Dallas Drupal Days 2011)
Accelerated grid theming using NineSixty (Dallas Drupal Days 2011)Four Kitchens
Ā 
Intro to Drush
Intro to DrushIntro to Drush
Intro to DrushFour Kitchens
Ā 
Teaching Drupal
Teaching DrupalTeaching Drupal
Teaching DrupalFour Kitchens
Ā 
Designing future proof websites
Designing future proof websitesDesigning future proof websites
Designing future proof websitesFour Kitchens
Ā 
Making drupal beautiful with web fonts
Making drupal beautiful with web fontsMaking drupal beautiful with web fonts
Making drupal beautiful with web fontsFour Kitchens
Ā 
The type revolutionary's cookbook
The type revolutionary's cookbookThe type revolutionary's cookbook
The type revolutionary's cookbookFour Kitchens
Ā 
The Web Chef Cookbook
The Web Chef CookbookThe Web Chef Cookbook
The Web Chef CookbookFour Kitchens
Ā 
The state of web typography
The state of web typographyThe state of web typography
The state of web typographyFour Kitchens
Ā 
Accelerated grid theming using NineSixty (Drupal Design Camp Boston 2010)
Accelerated grid theming using NineSixty (Drupal Design Camp Boston 2010)Accelerated grid theming using NineSixty (Drupal Design Camp Boston 2010)
Accelerated grid theming using NineSixty (Drupal Design Camp Boston 2010)Four Kitchens
Ā 
PHP for NonProgrammers (DrupalCon SF 2010)
PHP for NonProgrammers (DrupalCon SF 2010)PHP for NonProgrammers (DrupalCon SF 2010)
PHP for NonProgrammers (DrupalCon SF 2010)Four Kitchens
Ā 

More from Four Kitchens (20)

Four Kitchens Presents: Future of the CMS
Four Kitchens Presents: Future of the CMSFour Kitchens Presents: Future of the CMS
Four Kitchens Presents: Future of the CMS
Ā 
Four Kitchens: We make BIG websites
Four Kitchens: We make BIG websitesFour Kitchens: We make BIG websites
Four Kitchens: We make BIG websites
Ā 
No RFPs! Why requests for proposal are bad for business (and how we can stop ...
No RFPs! Why requests for proposal are bad for business (and how we can stop ...No RFPs! Why requests for proposal are bad for business (and how we can stop ...
No RFPs! Why requests for proposal are bad for business (and how we can stop ...
Ā 
Big Websites for Small Screens: ICANN.org Case Study
Big Websites for Small Screens: ICANN.org Case StudyBig Websites for Small Screens: ICANN.org Case Study
Big Websites for Small Screens: ICANN.org Case Study
Ā 
UX design for every screen
UX design for every screenUX design for every screen
UX design for every screen
Ā 
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp LA 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp LA 2011)Don't Design Websites. Design Web SYSTEMS! (DrupalCamp LA 2011)
Don't Design Websites. Design Web SYSTEMS! (DrupalCamp LA 2011)
Ā 
Accelerated grid theming using NineSixty (DrupalCamp LA 2011)
Accelerated grid theming using NineSixty (DrupalCamp LA 2011)Accelerated grid theming using NineSixty (DrupalCamp LA 2011)
Accelerated grid theming using NineSixty (DrupalCamp LA 2011)
Ā 
Don't Design Websites. Design Web SYSTEMS! (Dallas Drupal Days 2011)
Don't Design Websites. Design Web SYSTEMS! (Dallas Drupal Days 2011)Don't Design Websites. Design Web SYSTEMS! (Dallas Drupal Days 2011)
Don't Design Websites. Design Web SYSTEMS! (Dallas Drupal Days 2011)
Ā 
Building Responsive Websites and Apps with Drupal
Building Responsive Websites and Apps with DrupalBuilding Responsive Websites and Apps with Drupal
Building Responsive Websites and Apps with Drupal
Ā 
Accelerated grid theming using NineSixty (Dallas Drupal Days 2011)
Accelerated grid theming using NineSixty (Dallas Drupal Days 2011)Accelerated grid theming using NineSixty (Dallas Drupal Days 2011)
Accelerated grid theming using NineSixty (Dallas Drupal Days 2011)
Ā 
Intro to Drush
Intro to DrushIntro to Drush
Intro to Drush
Ā 
Teaching Drupal
Teaching DrupalTeaching Drupal
Teaching Drupal
Ā 
Big Websites
Big WebsitesBig Websites
Big Websites
Ā 
Designing future proof websites
Designing future proof websitesDesigning future proof websites
Designing future proof websites
Ā 
Making drupal beautiful with web fonts
Making drupal beautiful with web fontsMaking drupal beautiful with web fonts
Making drupal beautiful with web fonts
Ā 
The type revolutionary's cookbook
The type revolutionary's cookbookThe type revolutionary's cookbook
The type revolutionary's cookbook
Ā 
The Web Chef Cookbook
The Web Chef CookbookThe Web Chef Cookbook
The Web Chef Cookbook
Ā 
The state of web typography
The state of web typographyThe state of web typography
The state of web typography
Ā 
Accelerated grid theming using NineSixty (Drupal Design Camp Boston 2010)
Accelerated grid theming using NineSixty (Drupal Design Camp Boston 2010)Accelerated grid theming using NineSixty (Drupal Design Camp Boston 2010)
Accelerated grid theming using NineSixty (Drupal Design Camp Boston 2010)
Ā 
PHP for NonProgrammers (DrupalCon SF 2010)
PHP for NonProgrammers (DrupalCon SF 2010)PHP for NonProgrammers (DrupalCon SF 2010)
PHP for NonProgrammers (DrupalCon SF 2010)
Ā 

Recently uploaded

Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricksabhishekparmar618
Ā 
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightCheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightDelhi Call girls
Ā 
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...Suhani Kapoor
Ā 
Call Us āœ”ļø97111ā‡›47426ā‡›Call In girls Vasant Viharą¼’(Delhi)
Call Us āœ”ļø97111ā‡›47426ā‡›Call In girls Vasant Viharą¼’(Delhi)Call Us āœ”ļø97111ā‡›47426ā‡›Call In girls Vasant Viharą¼’(Delhi)
Call Us āœ”ļø97111ā‡›47426ā‡›Call In girls Vasant Viharą¼’(Delhi)jennyeacort
Ā 
call girls in Harsh Vihar (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Harsh Vihar (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøcall girls in Harsh Vihar (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Harsh Vihar (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø9953056974 Low Rate Call Girls In Saket, Delhi NCR
Ā 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...babafaisel
Ā 
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightCheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightDelhi Call girls
Ā 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`dajasot375
Ā 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentationamedia6
Ā 
Call Girls In Safdarjung Enclave 24/7āœ”ļø9711147426āœ”ļø Escorts Service
Call Girls In Safdarjung Enclave 24/7āœ”ļø9711147426āœ”ļø Escorts ServiceCall Girls In Safdarjung Enclave 24/7āœ”ļø9711147426āœ”ļø Escorts Service
Call Girls In Safdarjung Enclave 24/7āœ”ļø9711147426āœ”ļø Escorts Servicejennyeacort
Ā 
Kurla Call Girls Pooja NehwalšŸ“ž 9892124323 āœ… Vashi Call Service Available Nea...
Kurla Call Girls Pooja NehwalšŸ“ž 9892124323 āœ…  Vashi Call Service Available Nea...Kurla Call Girls Pooja NehwalšŸ“ž 9892124323 āœ…  Vashi Call Service Available Nea...
Kurla Call Girls Pooja NehwalšŸ“ž 9892124323 āœ… Vashi Call Service Available Nea...Pooja Nehwal
Ā 
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Delhi Call girls
Ā 
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Narsimha murthy
Ā 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdfSwaraliBorhade
Ā 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptxVanshNarang19
Ā 
VIP Kolkata Call Girl Gariahat šŸ‘‰ 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat šŸ‘‰ 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat šŸ‘‰ 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat šŸ‘‰ 8250192130 Available With Roomdivyansh0kumar0
Ā 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfParomita Roy
Ā 

Recently uploaded (20)

Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricks
Ā 
young call girls in Vivek ViharšŸ” 9953056974 šŸ” Delhi escort Service
young call girls in Vivek ViharšŸ” 9953056974 šŸ” Delhi escort Serviceyoung call girls in Vivek ViharšŸ” 9953056974 šŸ” Delhi escort Service
young call girls in Vivek ViharšŸ” 9953056974 šŸ” Delhi escort Service
Ā 
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightCheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Ā 
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
Ā 
Call Us āœ”ļø97111ā‡›47426ā‡›Call In girls Vasant Viharą¼’(Delhi)
Call Us āœ”ļø97111ā‡›47426ā‡›Call In girls Vasant Viharą¼’(Delhi)Call Us āœ”ļø97111ā‡›47426ā‡›Call In girls Vasant Viharą¼’(Delhi)
Call Us āœ”ļø97111ā‡›47426ā‡›Call In girls Vasant Viharą¼’(Delhi)
Ā 
call girls in Harsh Vihar (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Harsh Vihar (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøcall girls in Harsh Vihar (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Harsh Vihar (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
Ā 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Ā 
Call Girls Service Mukherjee Nagar @9999965857 Delhi šŸ«¦ No Advance VVIP šŸŽ SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi šŸ«¦ No Advance  VVIP šŸŽ SER...Call Girls Service Mukherjee Nagar @9999965857 Delhi šŸ«¦ No Advance  VVIP šŸŽ SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi šŸ«¦ No Advance VVIP šŸŽ SER...
Ā 
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightCheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Ā 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Ā 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentation
Ā 
Call Girls In Safdarjung Enclave 24/7āœ”ļø9711147426āœ”ļø Escorts Service
Call Girls In Safdarjung Enclave 24/7āœ”ļø9711147426āœ”ļø Escorts ServiceCall Girls In Safdarjung Enclave 24/7āœ”ļø9711147426āœ”ļø Escorts Service
Call Girls In Safdarjung Enclave 24/7āœ”ļø9711147426āœ”ļø Escorts Service
Ā 
young call girls in Pandav nagar šŸ” 9953056974 šŸ” Delhi escort Service
young call girls in Pandav nagar šŸ” 9953056974 šŸ” Delhi escort Serviceyoung call girls in Pandav nagar šŸ” 9953056974 šŸ” Delhi escort Service
young call girls in Pandav nagar šŸ” 9953056974 šŸ” Delhi escort Service
Ā 
Kurla Call Girls Pooja NehwalšŸ“ž 9892124323 āœ… Vashi Call Service Available Nea...
Kurla Call Girls Pooja NehwalšŸ“ž 9892124323 āœ…  Vashi Call Service Available Nea...Kurla Call Girls Pooja NehwalšŸ“ž 9892124323 āœ…  Vashi Call Service Available Nea...
Kurla Call Girls Pooja NehwalšŸ“ž 9892124323 āœ… Vashi Call Service Available Nea...
Ā 
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Ā 
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Ā 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf
Ā 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptx
Ā 
VIP Kolkata Call Girl Gariahat šŸ‘‰ 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat šŸ‘‰ 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat šŸ‘‰ 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat šŸ‘‰ 8250192130 Available With Room
Ā 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Ā 

From Photoshop to Drupal Theme (DrupalCon San Francisco 2010)

  • 1. From Photoshop to Drupal theme Creating a Drupal-optimized design Todd Nienkerk and Aaron Stanush DrupalCon San Francisco | April 19, 2010
  • 3. Todd Nienkerk Co-founder, designer, and developer Four Kitchens todd@fourkitchens.com @toddross Photo: Kristin Hillery
  • 4. Aaron Stanush Co-founder and designer Four Kitchens aaron@fourkitchens.com @astanush
  • 5. Prologue: Anatomy of a Drupal theme See drupal.org/node/171194 for more information
  • 6. What is a Drupal theme?
  • 7. A Drupal theme is simply a collection of ļ¬les uploaded to a speciļ¬c directory.
  • 8. This is what Drupal looks like out of the box The only directory you need to worry about is /sites
  • 9. Core themes are stored in /themes DO NOT put your themes here!
  • 10. Themes should be uploaded to /sites/all/themes You will need to create this directory after installing Drupal
  • 11. To add a new theme, upload it to /sites/all/themes
  • 12. Drupal themes need very few ļ¬les
  • 13. Drupal themes need very few ļ¬les mytheme.info deļ¬nes the theme
  • 14. Drupal themes need very few ļ¬les mytheme.info deļ¬nes the theme .tpl.php ļ¬les are ā€œtemplateā€ ļ¬les
  • 15. Template ļ¬les ā€£ Contain a themeā€™s markup ā€£ Just HTML and a little bit of PHP ā€£ Each template ļ¬le is responsible for a di erent piece of the page
  • 16. ā€£ The most commonly used template ļ¬les are: ā€£ page.tpl.php ā€£ block.tpl.php ā€£ node.tpl.php
  • 17. page.tpl.php header region The page template is the themeā€™s ā€œmainā€ template left right It assembles all the sidebar content region sidebar pieces into a region region ļ¬nished page The page includes ā€œregionsā€ (header, footer, etc.) footer region
  • 18. node.tpl.php The node template renders the content portion of the page The node template also renders node teasers
  • 19. node.tpl.php The node template renders the content portion of the page The node template also renders node teasers Multiple nodes can appear on page
  • 21. block.tpl.php The block template renders each block on a page left right sidebar sidebar Blocks are placed region region in the regions
  • 22. ā€£ When Drupal renders a page, it works from the inside out
  • 24. block.tpl block.tpl block.tpl node.tpl.php block.tpl block.tpl block.tpl
  • 25. page.tpl.php block.tpl block.tpl block.tpl node.tpl.php block.tpl block.tpl block.tpl
  • 26. ā€£ When you understand how themes work, you can easily create a Drupal-optimized design
  • 27. Step 1: Stop! Close Photoshop!
  • 28. You wouldnā€™t paint a house before building it... So how can you design a website before architecting it?
  • 29. Before you design, ask: ā€£ Whatā€™s the purpose of the site? ā€£ What kind of content will the site contain? ā€£ How will content be organized?
  • 30. Deļ¬ne the site ā€œWhatā€™s the purpose of the site?ā€
  • 31. List your goals Build a community Raise Generate awareness buzz Make money! Make money! Make money! Make money! Make money! Make Make money! money!
  • 32. Describe your site in two words or less Community site Brochureware Blog Viral campaign Online store Fan site lolcat clone
  • 33. Deļ¬ne the content ā€œWhat kind of content will the site contain?ā€
  • 34. ā€£ In Drupal, di erent kinds of content are called content types. ā€£ Content types are usually deļ¬ned by the di erent information they contain.
  • 35. Blog post Product Title Name Author Description Date published Price Body Options (sizes, colors) Lead image Images
  • 36. Create a sitemap and wireframes ā€œHow will content be organized?ā€
  • 37. Sitemaps ā€£ List all sections of the site ā€£ Illustrate how content is organized within the sections
  • 38. Home page Primary menu Most Science Sports Business Arts popular Blog post Blog post Blog post Blog post Blog post Secondary menu About us Terms of use Contact us User tools My account Search
  • 39. Wireframes ā€£ Illustrate page layout and functionality ā€£ Demonstrate how a user will navigate the site ā€£ Use placement of key components to reinforce the goals of the site ā€£ Shopping cart icon ā€£ Revenue-generating ads
  • 40. My account | Log out Blog Logo Search Science Sports Most popular Business posts Arts Content Advertisement Copyright 2010 BlogCorp, Inc. About us | Contact us | Terms of use
  • 41. Brainstorming should happen using wireframes, not design comps or mockups.
  • 42. Case study: Spatula City Spatula City is relaunching their website. It will be the largest spatula site ever built!
  • 43. Deļ¬ne the site Goals Description ā€£ Build awareness of ā€£ ā€œOnline storeā€ the Spatula City brand ā€£ Be the Amazon.com of online spatula retail ā€£ Make money!
  • 44. Deļ¬ne content types ā€£ Product Product ā€£ Frequently asked Name question (FAQ) Description ā€£ Page Price Color options Image
  • 46. Home page Primary menu Spatulas Spatulas Build-A- FAQ Contact us by type by color Spatula Question Spatula page page Secondary menu Retail locations About us Terms of use User tools My account Shopping cart Search
  • 48. My account Shopping cart Log out Logo Search Browse by type Browse by color Build-A-Spatula Contact us FAQ Top rated content Content Promo Copyright text About us Retail locations Terms of use
  • 49. Step 2: Translate the wireframes into ā€œDrupalspeakā€
  • 50. Most Drupal themes are comprised of just a few, basic components.
  • 51. ā€£ Content ā€£ Usually a node, view, or panel ā€£ Nodes are themed using node.tpl.php ā€£ Can also be a user proļ¬le or admin interface
  • 52. ā€£ Blocks ā€£ Can contain virtually anything: user login, menus, lists of content, custom HTML, views... ā€£ Appear in regions (usually sidebars, but sometimes in the header or footer regions) ā€£ Themed using block.tpl.php ā€£ Menus ā€£ Added to the page as blocks
  • 53. ā€£ Primary and secondary links ā€£ Navigation ā€£ Special kinds of menus ā€£ Logo ā€£ Search box ā€£ Footer message ā€£ All of these are page-level components that are themed in page.tpl.php
  • 54. My account Shopping cart Log out Logo Search Browse by type Browse by color Build-A-Spatula Contact us FAQ Top rated content Content Promo Copyright text About us Retail locations Terms of use
  • 55. My account Shopping cart Log out Logo Search Browse by type Browse by color Build-A-Spatula Contact us FAQ Content (node) Top rated content Content Promo Copyright text About us Retail locations Terms of use
  • 56. Menu (block) My account Shopping cart Log out Logo Search Browse by type Browse by color Build-A-Spatula Contact us FAQ Content (node) Block Top rated content Content Block Promo Copyright text About us Retail locations Terms of use
  • 57. Menu (block) My account Shopping cart Log out Logo Search Primary links Browse by type Browse by color Build-A-Spatula Contact us FAQ Content (node) Block Top rated content Content Block Promo Secondary links Copyright text About us Retail locations Terms of use
  • 58. Logo Menu (block) My account Shopping cart Log out Logo Search box Search Primary links Browse by type Browse by color Build-A-Spatula Contact us FAQ Content (node) Block Top rated content Content Block Promo Footer message Secondary links Copyright text About us Retail locations Terms of use
  • 59. Youā€™re not designing a website... Youā€™re designing a web system.
  • 60. Step 3: Design your site (You may now open Photoshop!)
  • 61. ā€£ Now you can make informed decisions about how to create a compelling and e ective design ā€£ Use your wireframes as blueprints ā€£ Let the theme components inform your design
  • 63. My account Shopping cart Log out Logo Search box Browse by type Browse by color Build-A-Spatula Contact us FAQ Top rated content Content Promo Copyright text About us Retail locations Terms of use
  • 64.
  • 66. Theming is simply a matter of changing the markup in the template ļ¬les and adding your own CSS.
  • 67.
  • 69. block.tpl.php node.tpl.php block.tpl.php block.tpl.php
  • 71. Primary links Secondary links
  • 72. Logo Search box Primary links Footer message Secondary links
  • 73. Better. Faster. Cheaper. How to accelerate the design and theming phases of your project
  • 74. Know what Drupal wants to do ā€£ Know what Drupalā€™s default output looks like ā€£ Stark theme: drupal.org/project/stark ā€£ Know the default regions ā€£ left, right, content, header, and footer ā€£ Assigning content to regions: drupal.org/node/171224
  • 75. Use template suggestions ā€£ Youā€™re not limited to a single template per component! ā€£ For example, each content type can have its own node.tpl.php ļ¬le ā€£ Learn more at drupal.org/node/190815
  • 76. Subtheme ā€£ Subthemes, their structure and inheritance: drupal.org/node/225125 ā€£ Zen: drupal.org/project/zen
  • 77. Use a grid system ā€£ NineSixty: drupal.org/project/ninesixty ā€£ Drupal port of the 960.gs grid system ā€£ Zen NineSixty: drupal.org/project/zen_ninesixty ā€£ Blueprint: drupal.org/project/blueprint ā€£ Drupal port of the Blueprint CSS framework
  • 78. Credits ā€£ The Swedish Chef was created by ā€£ This presentation was created and Jim Henson. Or someone who delivered by Todd Ross Nienkerk worked for him. Whatever the and Aaron Stanush, co-founders of case, we didnā€™t invent him. Four Kitchens ā€£ Spatula City is based on an idea by the great Weird Al Yankovic, internationally renowned accordion virtuoso. ā€£ The items listed above are exempt from this presentationā€™s Creative Commons license
  • 79. All content in this presentation, except where noted otherwise, is Creative Commons Attribution- ShareAlike 3.0 licensed and copyright 2010 Four Kitchen Studios, LLC.