PacktLib: Drupal 6 Themes

Drupal 6 Themes

Credits

About the Author

About the Reviewers

Preface

The Elements of a Drupal Theme

The Importance of Themes in Drupal

What Is a Theme?

What Is a Theme Engine?

The Range and Flexibility of Drupal Themes

What You See on the Screen

The Big Picture: How Drupal Displays a Page

The Default Themes of the Drupal Distro

The Theme Files

Summary

Theme Setup and Configuration

Finding Additional Themes

Installing an Additional Theme

Configuring a Theme

Managing Modules and Blocks

Theming in Action: Dressing Up Garland

Uninstalling Themes

Summary

Working with Theme Engines

What is PHPTemplate?

How Does It Work?

Getting Started with PHPTemplate

Alternative Theme Engines

Installing Additional Theme Engines

Summary

Identifying Templates, Stylesheets, and Themable Functions

Putting Together the Pieces—Templates, Stylesheets, and Functions

A Guide to Theming Elements

Summary

Intercepts and Overrides

Overriding the Default CSS

Overriding Templates and Themable Functions

Summary

Modifying an Existing Theme

Setting Up the Workspace

Planning the Modifications

Creating a New Subtheme

Making the Transition from Zen to Tao

Summary

Building a New Theme

Planning the Build

Creating a New PHPTemplate Theme

Build a New Pure PHP Theme

Summary

Dynamic Theming

Using Multiple Templates

Dynamically Theming Page Elements

Creating Dynamic CSS Styling

Working with Template Variables

Summary

Dealing with Forms

How Forms Work in Drupal

How to Approach Modifying Forms

Solutions to Common Form Issues

The Default Forms

Summary

Drupal CSS Map

Drupal CSS Map

Drupal CSS Map

The Themers' Toolkit

The Themers' Toolkit

The Themers' Toolkit