Grok Drupal Theming

Track: 
Theming
Experience: 
Beginner

So you know your CSS. You have you xhtml down, even are up on HTML5. But Drupal throws so much other stuff at you. What do you do? Where do you start?

This session provides an overview of how themes work in Drupal. The technical architecture may seem complex, but it's actually quite simple once you grasp the concepts and structures.

This session builds off of my previous presentation on theming at DrupalCon San Francisco 2010. It got 5-star marks from attendees then, but much has changed in Drupal 7.

Topics covered include: Core templates and how they work together; most-used templates; variables available; overrides; Drupal design patterns to be aware of; changes between Drupal 6 and Drupal 7; and the parent-child theme thing. And some gotchas, tips and tricks.

Intended audience: 

Experienced web designers & front-end developers who are new to Drupal; experienced Drupal themers who so far have worked mostly in Drupal 6 (or 5 [or 4.7? {or 4.6?? (or 4.5 :o )}]) theming and haven't gotten up on Drupal 7 yet; Drupal developers (of all levels) who don't have a clear picture how Drupal's theming layer is structured; site builders who just want to know what's happening under the hood here; anyone who knows xhtml and CSS and is curious.

Questions answered by this session
Question 1: 
What templates make up what you see on a Drupal page?
Question 2: 
What is $content, where does it come from, and how is it different depending upon the template?
Question 3: 
How do I override templates for specific instances or conditions (e.g., with preprocess)?
Question 4: 
How do I define regions to do what I want?
Question 5: 
What about stylesheets? How do I call them? Override them? Set conditions for them?
2.764705
Your rating: None Average: 2.8 (17 votes)

Diamond Sponsors

 
Palantir.net
VPS NET

Platinum sponsors

 
Trellon
workhabit

Gold Sponsors

 
HotDrupal.com
Duo
Treehouse Agency
Drupal Connect
Chapter Three
NorthPoint
Microsoft