Drupal Theming Chris Neglia and Lisa Forgan Copyright 2009, Page 1 Solutions
What is theming? Theming is a collection of files that add the layout and style of the site. Theming also makes minor alterations to the usability / functionality of the site…it's not just CSS and markup. Theming uses variables, some lightweight PHP and templates. These concepts are new to those who make dreamweaver templates.
Drupal Theme architecture Drupal uses the concept of defaults and overrides for theming. Default is the markup/layout/style that is included by a module initially. Overrides are templates that one can use to override the default layout/markup/style
Regions, Blocks Drupal uses 'regions' as 'areas in the layout'. By default there is a header, footer, content region, left and right sidebar. You can add your own regions to a theme. Drupal uses blocks as 'boxes' to put into regions of a site. The area where designers generally put 'editable regions' for content is in the 'content region'. This is where 'nodes' go
Overriding the user profile Copy the user-profile.tpl.php from a theme and put it into your theme. Then edit it. Then clear the theme registry Now your user-profile template for the active theme is overriding the default.
References Drupal.org Drupalmodules.org Front End Drupal -- Developers/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid= &sr=8-1 Front End Drupal -- Developers/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid= &sr=8-1 Pro Drupal Development -- Beginning/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid= &sr=8-1 Pro Drupal Development -- Beginning/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid= &sr=8-1 Leveraging Drupal -- Programmer/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid= &sr=8-1 Leveraging Drupal -- Programmer/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid= &sr=8-1 Drupal Themes -- styling/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid= &sr=8-1 Drupal Themes -- styling/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid= &sr=8-1 Using Drupal -- Byron/dp/ /ref=sr_1_4?ie=UTF8&s=books&qid= &sr=8-4 Using Drupal -- Byron/dp/ /ref=sr_1_4?ie=UTF8&s=books&qid= &sr=8-4 Drupal Social Networking -- Peacock/dp/ /ref=sr_1_9?ie=UTF8&s=books&qid= &sr=8-9 Drupal Social Networking -- Peacock/dp/ /ref=sr_1_9?ie=UTF8&s=books&qid= &sr=8-9 Drupal and jQuery -- Butcher/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid= &sr=8-1 Drupal and jQuery -- Butcher/dp/ /ref=sr_1_1?ie=UTF8&s=books&qid= &sr=8-1