Drupal 5 Themes: Create a new theme for your Drupal website with a clean layout and powerful CSS styling
www.PACKTPUB.com  FREE ONLINE EDITION: Read full chapters online, download free samples from the book and more...
Book Contents Index > Chapter 1

Preface

1: The Elements of a Drupal Theme
2: Theme Set Up and Configuration
3: Working with Theme Engines Free Chapter
4: Style Sheets and Themeable Functions
5: Intercepts and Overrides
6: Modifying an Existing Theme
7: Building a New Theme
8:
Dealing with Forms

Appendix A


Index

Free Chapter:
Chapter 3: Working with Theme Engines [2.1 MB]

Contact us

Chapter 1: The Elements of a Drupal Theme

In this chapter, we will introduce themes and their role in the Drupal system. The chapter also covers the various types of themes, the basic elements of a theme, and the functions those elements fulfill. Near the end of the chapter, we will also look at the themes contained in the distro and examine exactly what it is that makes each theme distinct.

The contents of this preliminary chapter provide the general comprehension necessary to grasp the big picture of Drupal. Think of the knowledge communicated in this chapter as a framework from which we will hang the various skills that follow in the subsequent chapters.

Chapter 1: The Elements of a Drupal Theme

  • What is a Theme?
  • What is a Templating Engine?
  • The Range and Flexibility of Drupal Themes
  • What You See on the Screen
  • The Big Picture: How Drupal Displays a Page
  • The Importance of Themes in Drupal
    • Key Concepts
      • Build with Blocks
      • Intercept and Override
  • The Contents of the Drupal Distro
  • The Theme Files
    • The Files of a PHPTemplate Theme
    • The Files of a Pure PHP Theme
  • Summary

 

   

 

Paperback 250 pages
Released: December 2007
ISBN: 1847191827
ISBN 13:
978-1-847191-82-3

     

 




View the book details
on PacktPub.com

 


 
  This website is owned and maintained by Packt Publishing Ltd, 2008. All rights reserved. Terms and Conditions