Re: [htmltmpl] setting template parameters from within the template?

2004-09-30 Thread Mathew Robertson
Since filters are applied to each file as it is loaded, TMPL_SET's in the parent file, are not in scope of the included file...thus it looks like this isn't going to solve your problem. Mathew - Original Message - From: "Thilo Planz" <[EMAIL PROTECTED]> To: "Mathew Robertson" <[EMAIL P

Re: [htmltmpl] setting template parameters from within the template?

2004-09-30 Thread Thilo Planz
Attached is H::T::Filters module which implements some common filters. One of them is the TMPL_SET filter which can be used to do what you are asking for. Thanks, that is a useful module, but I cannot make it work on included files. (The included file can not see what you TMPL_SET'ed is the "ou

Re: [htmltmpl] setting template parameters from within the template?

2004-09-30 Thread Mathew Robertson
Attached is H::T::Filters module which implements some common filters. One of them is the TMPL_SET filter which can be used to do what you are asking for. Hope this helps, Mathew - Original Message - From: "Thilo Planz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October

[htmltmpl] setting template parameters from within the template?

2004-09-30 Thread Thilo Planz
Hello, is there a way to set template parameters from within the template? I would like to do this because I have pages that include a common header (who doesn't ?) and that header makes a page title. At the moment, I have to set "page_title" in my application code (well, not really, it is fac