Re: [PHPTAL] Using PHPTAL, METAL for 'static' sites and variable scope issues

2009-06-14 Thread Kornel LesiƄski
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

[PHPTAL] Using PHPTAL, METAL for 'static' sites and variable scope issues

2009-06-14 Thread Shaun O'Connell
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