Re: [Templates] interpolate template var in template include with ttree

[prev] [thread] [next] [Date index for 2004/06/05]

From: Dave Cross
Subject: Re: [Templates] interpolate template var in template include with ttree
Date: 11:57 on 05 Jun 2004
On Sat, Jun 05, 2004 at 01:05:48PM +0200, Stefan Höfs wrote:
> Is there anything possible like this with ttree
> 
> [% runmode = 'home.atml %]
> [% INCLUDE [% rumode %]  %]

Just use variables.

[% runmode = 'home.atml' %]
[% INCLUDE $runmode %]

        -- 
          New .sigs
  Running in please parse

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] interpolate template var in template include with ttree
Stefan =?iso-8859-1?q?H=F6fs?= 11:05 on 05 Jun 2004

Re: [Templates] interpolate template var in template include with ttree
Dave Cross 11:57 on 05 Jun 2004

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52