Re: [htmltmpl] Leaving tmp_var intact inside template
Brought to you by:
samtregar
From: Brad B. <bm...@ma...> - 2008-07-29 13:01:47
|
On Mon, Jul 28, 2008 at 5:29 PM, city crew <cit...@ho...> wrote: > > I like that, I was experimenting with !TMPL_VAR but yours seems more > semantically appealing. (I'm practicing my impressive technical speak > there...) > Using !TMPL_VAR would allow for "3-pass" or "n-pass" templating. That is, change !TMPL_VAR to TMPL_VAR on each pass. If you then have !!TMPL_VAR, it survives to the third pass. I actually do this (albeit with a different templating system), though I can recall only a couple of times I ever needed !!. Brad |