Presentation is loading. Please wait.

Presentation is loading. Please wait.

Drupal Theming Chris Neglia and Lisa Forgan Copyright 2009, Page 1 Solutions.

Similar presentations


Presentation on theme: "Drupal Theming Chris Neglia and Lisa Forgan Copyright 2009, Page 1 Solutions."— Presentation transcript:

1 Drupal Theming Chris Neglia and Lisa Forgan Copyright 2009, Page 1 Solutions

2 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.

3 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

4 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

5 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.

6 References Drupal.org Drupalmodules.org Front End Drupal -- http://www.amazon.com/Front-End-Drupal-Designing- Developers/dp/0137136692/ref=sr_1_1?ie=UTF8&s=books&qid=1249064489&sr=8-1 Front End Drupal -- http://www.amazon.com/Front-End-Drupal-Designing- Developers/dp/0137136692/ref=sr_1_1?ie=UTF8&s=books&qid=1249064489&sr=8-1 Pro Drupal Development -- http://www.amazon.com/Pro-Drupal-Development-Second- Beginning/dp/1430209895/ref=sr_1_1?ie=UTF8&s=books&qid=1249064469&sr=8-1 Pro Drupal Development -- http://www.amazon.com/Pro-Drupal-Development-Second- Beginning/dp/1430209895/ref=sr_1_1?ie=UTF8&s=books&qid=1249064469&sr=8-1 Leveraging Drupal -- http://www.amazon.com/Leveraging-Drupal-Getting-Right- Programmer/dp/0470410876/ref=sr_1_1?ie=UTF8&s=books&qid=1249064577&sr=8-1 Leveraging Drupal -- http://www.amazon.com/Leveraging-Drupal-Getting-Right- Programmer/dp/0470410876/ref=sr_1_1?ie=UTF8&s=books&qid=1249064577&sr=8-1 Drupal Themes -- http://www.amazon.com/Drupal-Themes-Create-powerful- styling/dp/1847195660/ref=sr_1_1?ie=UTF8&s=books&qid=1249064569&sr=8-1 Drupal Themes -- http://www.amazon.com/Drupal-Themes-Create-powerful- styling/dp/1847195660/ref=sr_1_1?ie=UTF8&s=books&qid=1249064569&sr=8-1 Using Drupal -- http://www.amazon.com/Using-Drupal-Angela- Byron/dp/0596515804/ref=sr_1_4?ie=UTF8&s=books&qid=1249064577&sr=8-4 Using Drupal -- http://www.amazon.com/Using-Drupal-Angela- Byron/dp/0596515804/ref=sr_1_4?ie=UTF8&s=books&qid=1249064577&sr=8-4 Drupal Social Networking -- http://www.amazon.com/Drupal-Social-Networking-Michael- Peacock/dp/1847196101/ref=sr_1_9?ie=UTF8&s=books&qid=1249064595&sr=8-9 Drupal Social Networking -- http://www.amazon.com/Drupal-Social-Networking-Michael- Peacock/dp/1847196101/ref=sr_1_9?ie=UTF8&s=books&qid=1249064595&sr=8-9 Drupal and jQuery -- http://www.amazon.com/Drupal-JavaScript-jQuery-Matt- Butcher/dp/1847196160/ref=sr_1_1?ie=UTF8&s=books&qid=1249064595&sr=8-1 Drupal and jQuery -- http://www.amazon.com/Drupal-JavaScript-jQuery-Matt- Butcher/dp/1847196160/ref=sr_1_1?ie=UTF8&s=books&qid=1249064595&sr=8-1


Download ppt "Drupal Theming Chris Neglia and Lisa Forgan Copyright 2009, Page 1 Solutions."

Similar presentations


Ads by Google