[Templates] 10 lines of whitespace at top of page

Dave Howorth dhoworth@mrc-lmb.cam.ac.uk
Wed, 09 May 2007 10:28:58 +0100


Harald Joerg wrote:
> Call it a dirty solution if you want - but my method to fix this is to
> simply put a plain
> 
> [% CLEAR %]
> 
> at the end of every template file which is not designed to output
> anything.  This enables me to write extensive comments between the block
> declarations, without even having to use TT comment syntax.

Ooh, thanks for that :) I hadn't noticed the CLEAR directive before.

I see it clears output for the current enclosing block. Is there a list
somewhere that defines what creates a block? (e.g. BLOCK, TRY, CATCH etc)

Cheers, Dave