Re: [Templates] Interpolating tags within tags

[prev] [thread] [next] [Date index for 2004/08/23]

From: Axel Gerstmair
Subject: Re: [Templates] Interpolating tags within tags
Date: 18:15 on 23 Aug 2004
Hi Chris,

On Monday, August 23, 2004 at 19:25, Chris Ochs wrote:
> There are a limited number of configuration options that we want to
> store in template variables, but we dont' want our clients to have
> to edit template pages directly just for these few variables.

What about creating template files dynamically at the moment your
configuration variables change. You could use two different tag
styles, e.g. [* *] and [% %], and process the template twice. The
first time to insert your variable values and the second time to
process it regularly. This way you would benefit from caching. It's
just an idea... 

Best regards,
Axel


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

[Templates] Interpolating tags within tags
Chris Ochs 16:15 on 23 Aug 2004

Re: [Templates] Interpolating tags within tags
Harry Jackson 16:28 on 23 Aug 2004

Re: [Templates] Interpolating tags within tags
merlyn (Randal L. Schwartz) 16:59 on 23 Aug 2004

Re: [Templates] Interpolating tags within tags
Chris Ochs 17:25 on 23 Aug 2004

Re: [Templates] Interpolating tags within tags
Axel Gerstmair 18:15 on 23 Aug 2004

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