[ZPT] Need help understanding TAL and METAL:fill-lots interaction

Chris Withers chris at simplistix.co.uk
Tue Aug 24 02:28:37 EDT 2004


Stephen Nesbitt wrote:

> All:
> 
> I'm probably missing something obvious, but how can I reference a 
> tal variable inside of a metal:fill-slot element? For example:
> 
> <div tal:define="projectName python:lookupName()" >

This tal:define either needs to appear inside the metal:fill-slot or 
outside the metal:use-macro

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZPT mailing list