[Templates] disable undef interpolation
Julio Otuyama
otuyama at yahoo.com.br
Sun Jun 22 04:13:51 BST 2008
Hello,
Is there some way to disable the interpolation of TT in the case of an undef value?
I dont want TT to remove the expression when there is an undef. Just keep the expression to be evaluated in a another step.
This way I could execute TT as many times as I want, creating a "cache" for the next step. It is easier to debug the code.
For instance:
[% createddate %][% timesincecreated %]
The "createddate" could be replaced in the first step, but "timesincecreated" should be replaced only on request time, in a second step.
Thanks,
Julio
More information about the templates
mailing list