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 files uploaded to a specific
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 files
Drupal themes need
   very few files


   mytheme.info
defines the theme
Drupal themes need
   very few files


   mytheme.info
defines the theme


 .tpl.php files are
  “template” files
Template files
‣   Contain a theme’s markup
    ‣   Just HTML and a little bit of PHP
‣   Each template file is responsible for a di erent
    piece of the page
‣   The most commonly used template files 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

finished 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?
Define 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
Define 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 defined 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!
Define the site
Goals                          Description
‣   Build awareness of         ‣   “Online store”
    the Spatula City brand
‣   Be the Amazon.com
    of online spatula retail
‣   Make money!
Define 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 profile 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
files 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 file

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

LIGHTSCAPES: HOW MIGHT WE DESIGN AN INCLUSIVE AND ACCESSIBLE CLASSICAL CONCER...
LIGHTSCAPES: HOW MIGHT WE DESIGN AN INCLUSIVE AND ACCESSIBLE CLASSICAL CONCER...LIGHTSCAPES: HOW MIGHT WE DESIGN AN INCLUSIVE AND ACCESSIBLE CLASSICAL CONCER...
LIGHTSCAPES: HOW MIGHT WE DESIGN AN INCLUSIVE AND ACCESSIBLE CLASSICAL CONCER...Pranav Subramanian
 
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...Pranav Subramanian
 
How Apple strives for the perfect sky and revives cities
How Apple strives for the perfect sky and revives citiesHow Apple strives for the perfect sky and revives cities
How Apple strives for the perfect sky and revives citiesThomas Schielke
 
ArtWaves 2024 - embracing Curves in Modern Homes
ArtWaves 2024 - embracing Curves in Modern HomesArtWaves 2024 - embracing Curves in Modern Homes
ArtWaves 2024 - embracing Curves in Modern HomesVellyslav Petrov
 
Piece by Piece Magazine
Piece by Piece Magazine                      Piece by Piece Magazine
Piece by Piece Magazine CharlottePulte
 
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...Associazione Digital Days
 
PORTFOLIO 2024_ANASTASIYA KUDINOVA / EXTENDED VERSION
PORTFOLIO 2024_ANASTASIYA KUDINOVA / EXTENDED VERSIONPORTFOLIO 2024_ANASTASIYA KUDINOVA / EXTENDED VERSION
PORTFOLIO 2024_ANASTASIYA KUDINOVA / EXTENDED VERSIONAnastasiya Kudinova
 
Karim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 pppppppppppppppKarim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 pppppppppppppppNadaMohammed714321
 
Niintendo Wii Presentation Template.pptx
Niintendo Wii Presentation Template.pptxNiintendo Wii Presentation Template.pptx
Niintendo Wii Presentation Template.pptxKevinYaelJimnezSanti
 
10 must-have Chrome extensions for designers
10 must-have Chrome extensions for designers10 must-have Chrome extensions for designers
10 must-have Chrome extensions for designersPixeldarts
 
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...Yantram Animation Studio Corporation
 
AI and Design Vol. 2: Navigating the New Frontier - Morgenbooster
AI and Design Vol. 2: Navigating the New Frontier - MorgenboosterAI and Design Vol. 2: Navigating the New Frontier - Morgenbooster
AI and Design Vol. 2: Navigating the New Frontier - Morgenbooster1508 A/S
 
The spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenologyThe spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenologyChristopher Totten
 
Karim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 pppppppppppppppKarim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 pppppppppppppppNadaMohammed714321
 
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...Pranav Subramanian
 
guest bathroom white and bluesssssssssss
guest bathroom white and bluesssssssssssguest bathroom white and bluesssssssssss
guest bathroom white and bluesssssssssssNadaMohammed714321
 
PORTFOLIO 2024 ANASTASIYA KUDINOVA
PORTFOLIO 2024       ANASTASIYA KUDINOVAPORTFOLIO 2024       ANASTASIYA KUDINOVA
PORTFOLIO 2024 ANASTASIYA KUDINOVAAnastasiya Kudinova
 
CAPITAL GATE CASE STUDY -regional case study.pdf
CAPITAL GATE CASE STUDY -regional case study.pdfCAPITAL GATE CASE STUDY -regional case study.pdf
CAPITAL GATE CASE STUDY -regional case study.pdfAlasAlthaher
 
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...Thomas Schielke
 
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDinGeneral Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDinSamar Hossam ElDin Ahmed
 

Recently uploaded (20)

LIGHTSCAPES: HOW MIGHT WE DESIGN AN INCLUSIVE AND ACCESSIBLE CLASSICAL CONCER...
LIGHTSCAPES: HOW MIGHT WE DESIGN AN INCLUSIVE AND ACCESSIBLE CLASSICAL CONCER...LIGHTSCAPES: HOW MIGHT WE DESIGN AN INCLUSIVE AND ACCESSIBLE CLASSICAL CONCER...
LIGHTSCAPES: HOW MIGHT WE DESIGN AN INCLUSIVE AND ACCESSIBLE CLASSICAL CONCER...
 
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...
ALISIA: HOW MIGHT WE ACHIEVE HIGH ENVIRONMENTAL PERFORMANCE WHILE MAINTAINING...
 
How Apple strives for the perfect sky and revives cities
How Apple strives for the perfect sky and revives citiesHow Apple strives for the perfect sky and revives cities
How Apple strives for the perfect sky and revives cities
 
ArtWaves 2024 - embracing Curves in Modern Homes
ArtWaves 2024 - embracing Curves in Modern HomesArtWaves 2024 - embracing Curves in Modern Homes
ArtWaves 2024 - embracing Curves in Modern Homes
 
Piece by Piece Magazine
Piece by Piece Magazine                      Piece by Piece Magazine
Piece by Piece Magazine
 
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...
Giulio Michelon, Founder di @Belka – “Oltre le Stime: Sviluppare una Mentalit...
 
PORTFOLIO 2024_ANASTASIYA KUDINOVA / EXTENDED VERSION
PORTFOLIO 2024_ANASTASIYA KUDINOVA / EXTENDED VERSIONPORTFOLIO 2024_ANASTASIYA KUDINOVA / EXTENDED VERSION
PORTFOLIO 2024_ANASTASIYA KUDINOVA / EXTENDED VERSION
 
Karim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 pppppppppppppppKarim apartment ideas 01 ppppppppppppppp
Karim apartment ideas 01 ppppppppppppppp
 
Niintendo Wii Presentation Template.pptx
Niintendo Wii Presentation Template.pptxNiintendo Wii Presentation Template.pptx
Niintendo Wii Presentation Template.pptx
 
10 must-have Chrome extensions for designers
10 must-have Chrome extensions for designers10 must-have Chrome extensions for designers
10 must-have Chrome extensions for designers
 
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...
Exploring Tehran's Architectural Marvels: A Glimpse into Vilaas Studio's Dyna...
 
AI and Design Vol. 2: Navigating the New Frontier - Morgenbooster
AI and Design Vol. 2: Navigating the New Frontier - MorgenboosterAI and Design Vol. 2: Navigating the New Frontier - Morgenbooster
AI and Design Vol. 2: Navigating the New Frontier - Morgenbooster
 
The spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenologyThe spirit of digital place - game worlds and architectural phenomenology
The spirit of digital place - game worlds and architectural phenomenology
 
Karim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 pppppppppppppppKarim apartment ideas 02 ppppppppppppppp
Karim apartment ideas 02 ppppppppppppppp
 
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...
STITCH: HOW MIGHT WE PROMOTE AN EQUITABLE AND INCLUSIVE URBAN LIFESTYLE PRIOR...
 
guest bathroom white and bluesssssssssss
guest bathroom white and bluesssssssssssguest bathroom white and bluesssssssssss
guest bathroom white and bluesssssssssss
 
PORTFOLIO 2024 ANASTASIYA KUDINOVA
PORTFOLIO 2024       ANASTASIYA KUDINOVAPORTFOLIO 2024       ANASTASIYA KUDINOVA
PORTFOLIO 2024 ANASTASIYA KUDINOVA
 
CAPITAL GATE CASE STUDY -regional case study.pdf
CAPITAL GATE CASE STUDY -regional case study.pdfCAPITAL GATE CASE STUDY -regional case study.pdf
CAPITAL GATE CASE STUDY -regional case study.pdf
 
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...
Cities Light Up in Solidarity With Ukraine: From Internationally Synchronized...
 
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDinGeneral Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
General Simple Guide About AI in Design By: A.L. Samar Hossam ElDin
 

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 files uploaded to a specific 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 files
  • 13. Drupal themes need very few files mytheme.info defines the theme
  • 14. Drupal themes need very few files mytheme.info defines the theme .tpl.php files are “template” files
  • 15. Template files ‣ Contain a theme’s markup ‣ Just HTML and a little bit of PHP ‣ Each template file is responsible for a di erent piece of the page
  • 16. The most commonly used template files 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 finished 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. Define 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. Define 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 defined 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. Define the site Goals Description ‣ Build awareness of ‣ “Online store” the Spatula City brand ‣ Be the Amazon.com of online spatula retail ‣ Make money!
  • 44. Define 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 profile 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 files 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 file ‣ 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.