Get Ready ... To prepare for this seminar you should download a copy of the following themes: ● http://drupal.org/project/ninesixty ● http://drupal.org/project/domicile If you need to leave: ● This session is recorded. If the recording fails, this is a similar presentation to the one I gave at DrupalCon London. ● The information is available in: Drupal User's Guide or workbooks at Designtotheme.com. ● Slides are available from: slideshare.net/emmajane
You've just been handed a gorgeous, static Photoshop file. By tomorrow it needs to be a flexible, extensible, and compatible Drupal theme for some Web site you've never seen. Oh and they said something about it needing to be responsive to 508 or something like that? *gulp* No worries! In this one-hour webinar, Drupal rock star Emma Jane Hogbin, will give you a sneak peek inside her brand new book Drupal: A User's Guide and show you how to transform a Photoshop file into a real live theme. As part of this webinar you will receive all of the code for the theme we build so you can watching, listening and learning how to quickly build themes for Drupal 7.
We'll cover:
Rapid prototyping with Minimum Viable Themes Choosing the best base theme for your current project--no, one size doesn't fit all--especially if the design was meant to be responsive How to save time with image extraction techniques Smoothing out the transition from design to theme with powerful helper modules
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Get Ready ...
To prepare for this seminar you should download a copy of the following themes:● http://drupal.org/project/ninesixty● http://drupal.org/project/domicile
If you need to leave:● This session is recorded. If the recording fails, this is a similar
presentation to the one I gave at DrupalCon London.● The information is available in: Drupal User's Guide or workbooks
at Designtotheme.com.● Slides are available from: slideshare.net/emmajane
Theme Building● Theming philosophy● Process● Case study: Domicile
35 minutes
Summary● Questions/Answers● Discount Coupons
20 minutes
Theming Philosophy
Lazy Front End Developer
Working With OthersProduces More Honey
node.tpl.php
page.tpl.php
field.tpl.php
jplayer.tpl.php
Theming by tpl.php Files
Wastes Your Time
Minimum Viable Theme
UX
UX
UX
UX
Take Only Pictures, Leave Only Footprints
Theme Only What You Need To
Budget-Appropriate Web Design● Know your Drupal toolkit. Know your budget.● Focus on the biggest elements first.● Work closely with your designer and your client to
make sure you get the important things right.● Theme with the markup you have, not the markup
you'd like to have.● Pixel perfect design is for print. Get over it.
Accessible Web Design
“Accessible web design refers to the philosophy and practice of designing web pages so that they can be navigated and read by everyone, regardless of location, experience, or the type of computer technology used.” Australian Human Rights Commission
● Know your guidelines (508 or WAI).● Use a checklist.● Use an automated testing suite.● Test with users.
“Any approach that delivers elegant visual experiences regardless of the size of the user’s display and the limitations or capabilities of the device” zeldman.
Finally...and only if you really must:● Preprocess functions.● Form altering functions.● Functionality-based PHP snippets.● (etc)
Domicile: the theme
Theme Building Summary
Minimum Viable Theme1. Prepare design.
2. Create required theme files.
3. Create regions in page.tpl.php.
4. Extract and embed images.
5. Launch MVT.
Theme by UX6. Administrative interface
7. CSS enhancements
8. Module helpers
9. tpl.php files
10.Theme functions
PSD to Theme Summary● Plan your theme from the data model out, not the template files in.
● Use relevant Drupal modules to break up content and display it in relevant locations.
● Extract only the images and colours you need from your PSD file.
● Using your grid, rebuild your design as a minimum viable theme in the fewest possible tpl.php files.
● Fix any outstanding problems according to the expected user experience with the site.
● Test your site using automated testing suites for cross-browser and accessibility issues. Then test again using as much real content and as many real people as you can afford.
● Cross your fingers and launch.
www.informit.comSAVE 35% on Drupal User's Guide.Discount Code: DRUPALUSER
www.designtotheme.comSave 35% on all titles.
Discount Code: ACQUIA-P2T
1. PSD to Drupal Theme2. SBE Guide: Micro Site
www.drupalwatchdog.com/readIssue 1: Free PSD to Theme article.