I know that we can 'PROCESS', 'INCLUDE' other templates from within a template. However, is it possible to call and process only a BLOCK within another template? Here is an example:
[%# -------- file1.tt ---- %]
// some code
[% BLOCK file1blk %]
// code processed in the block
[% END %]
[%# ---- End of file file1.tt ----- #]
 
Another file file2.tt, calls file1.tt
[% INCLUDE file1.tt/file1blk %]
 
Is this possible without having to save that block off into a seperate file?
 

Reply via email to