We do the same. We have zpt "fragments" or snippets as I call them, and do stuff like < div tal:replace="here/snippet" >< / div > The snippet usually contains a whole < table > element or something and nothing more. It allows me to edit/replace/replicate (like a news snippet) sections of pages without mucking with the whole page. -jim ----- Original Message ----- From: "Simon Michael" <simon@joyful.com> To: <zope@zope.org> Sent: Friday, August 09, 2002 12:29 PM Subject: [Zope] Re: Why not ZPT
"Edward Ing" <edwardbying@hotmail.com> writes:
But the power of ZPT comes when you put ZPT's inside ZPT's. You have a main ZPT which has a header ZPT and a footer ZPT and a body ZPT and a left side bar ZPT.
Hi Edward,
this sounds like something I want to do - anything more you can say about it ? Do you need to strip the HTML header & footer from the ZPTs you're including.. or not ?
-Simon
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )