[htmltmpl] Re: is it possible to use var in include
Brought to you by:
samtregar
From: Mark S. <ma...@su...> - 2005-12-07 18:30:44
|
On 2005-09-28, mic...@cs... <mic...@cs...> wrote: > Dies ist eine mehrteilige Nachricht im MIME-Format. > --=_alternative 004DED9DC125708A_= > Content-Type: text/plain; charset="US-ASCII" > > Hello all, > > Is that not possible? <TMPL_INCLUDE NAME=<TMPL_VAR NAME=mod>> > 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...) This is supported in HTML::Template::Compiled as: <TMPL_INCLUDE VAR="mod"> However, I can only say that from reading the docs. I haven't used the module yet myself and can't directly vouch for it. Mark |