Re: [Templates] Interpolating tags within tags
[prev]
[thread]
[next]
[Date index for 2004/08/23]
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