On 14.06.2009, at 21:53, Shaun O'Connell wrote:
Problems with variables
Now I want to start defining variables per page, that the master
template will use. E.g. a suffix, or attaching a class to
the element. So, in index.php I added the body_class and
title_suffix variables:
[index.ph
Hi Gang,
I've been tasked with skinning a new 'static' site, and I'd like to use
PHPTAL to clean up my re-use of HTML, instead of just relying on SSIs or
repeating code over several HTML files.
I figured I would create a master template, and then use several smaller
templates to insert relevant h