[Templates] BLOCKs in nested WRAPPERS

Andy Wardley abw@wardley.org
Mon, 25 Jun 2007 11:35:31 +0100


Bill Moseley wrote:
> Can blocks in wrappers be available to outer wrapper templates?

No.

> Is that because of the localization of the stash that WRAPPER does?

Yes.

The only way I can think of (off the top of my head) to do what you want would 
be to move the BLOCKS defined in inner.tt into a separate template which you 
PRE_PROCESS (or have it PROCESSed by one you're already PRE_PROCESSing).

Cheers
A