Let's take a deeper look at the key files involved in a PHPTemplate theme: The
.info file and the
page.tpl.php file. To illustrate these files at work, I will then look at how two different themes vary in their approaches.
.info file is one of the required files in a PHPTemplate theme. This file has a configuration function and syntax similar to a
.info files are discussed in length in Chapter 7, Dynamic Theming, but to give you a sample of what is happening, here is the
bartik.info file, which accompanies the Bartik theme (
; $Id: bartik.info,v 1.5 2010/11/07 00:27:20 dries Exp $ name = Bartik description = A flexible, recolorable theme with many regions. ...