in reply to Overriding Apache::Template postprocessing directive within a specific TT2 file
I think you can do it this way, not sure if it's the best. Untested and I've never tried to do this but it might be right. The trick is you have to put it in the footer template file, at the very top.
[% RETURN IF template.name EQ "special.tt2" %]Something like this is okay if it's a single hack but it tends to point to an underlying design flaw. Probably it would be better to assign the footer based on some datapoint from inside the controller code rather than tacking it onto everything that comes out of the executable.
|
|---|