Re: [htmltmpl] Stripping blank lines caused by TMPL tags

2005-09-28 Thread Mitar
Hi! > This gets me the results I was looking for but feel that it is very much a > kludge. Have I missed something in the docs like a param for the > constructor that automagicly does the same thing I have done minus me having > to do anything? Having seen the results of an HTML::Template minus

Re: [htmltmpl] is it possible to use var in include

2005-09-28 Thread Peter Leonard
Michael, In my experience, the only way to make that work is by making two passes through HTML::Template, creating a custom filter on the first pass. So your template syntax would look like this: [TMPL_INCLUDE NAME=] The first pass would set the 'mod' param, but ignore the outer tags. The

[htmltmpl] is it possible to use var in include

2005-09-28 Thread michael . braig
Hello all, Is that not possible? > Cause depending in which mode I open the template I want to show up a differnt body (e.g. start page, register page, search page...) Regards Michael