[Zope] rendering zpt in zpt

robert rottermann robert at redcor.ch
Fri Mar 19 15:08:55 EST 2004


David Bear wrote:

>Say I have a page template a
>
>In that page I have a section like this:
>
> <div id="body"> stuff in the body </div>
>
>is there a way from page template b to render only the "body" div from
>a?
>
> <div id="insertedbody" tal:replace="here/templatefolder/a> stuff
> </div>
>
>
>  
>
this you do with macros.

read the section on metal macros in  the zope book on zope.org
Robert



More information about the Zope mailing list