[Zope-dev] Five browser views and zpt macros?

Chris Withers chris at simplistix.co.uk
Sun Apr 12 20:27:40 EDT 2009


Hi All,

Am I right in thinking that in days gone by you could do:

   <browser:page
       for="*"
       name="standard_template.pt"
       template="standard_template.pt"
       permission="zope2.View"
       />

...which would then allow you to use the macros from that zpt as follows:

<html metal:use-macro="context/@@standard_template.pt/macros/main">

If so, how come this doesn't work in Zope 2.12 and what should I use 
instead?

Chris

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


More information about the Zope-Dev mailing list