ah, thanks for that (it's what I tried first, but was using paths relative to the fragment .tcl file rather than the calling page). But processing still continues in the tcl file once the alternate template is returned though - do you know any
<include>-compatible analogue to
ad_script_abort?
And while I'm on the topic of the templating system, I also have a couple of cases where large chunks of display HTML are generated purely in tcl... these are now living in <include>ed page fragments, where the .adp is nothing but
@fragment_html;noquote@
Is there a way of getting fragment output directly from a .tcl file into the result page without having to tweak templating-private data structures?