Re: [Zope] Integrating METAL into Zope Product

2007-01-10 Thread Peter Bengtsson
Define it as a class attribute class MyProduct(...): ptMaster = PageTemplateFile('ptMaster', globals()) index = PageTemplateFile('index', globals()) ptMaster.pt will then have to look like this:: and index.pt:: BODY! Brian Brinegar wrote: I've got a Zope product which wil

[Zope] Integrating METAL into Zope Product

2007-01-10 Thread Brian Brinegar
I've got a Zope product which will render itself using standard_html_header and standard_html_footer if they exist. I would like this same product to look for a specific Page Template (ptMaster) and render itself using a macro and filling a slot with it's contents. Any pointers/examples on integra