[z3-five] Re: yet more ZCML / template binding trouble

Lennart Regebro regebro at gmail.com
Thu Jun 16 11:38:22 CEST 2005


Are you using "main" or "body" to fill the body slot?
CMF and Zope3 doesn't use the same slot names. That's why CMFonFives
five_template looks like this:

<html metal:define-macro="page">
<span metal:use-macro="here/main_template/macros/master">
 <metal:block fill-slot="base">
   <metal:block define-slot="base" />
 </metal:block>
 <metal:block fill-slot="header">
   <metal:block define-slot="header" />
 </metal:block>
 <metal:block fill-slot="css_slot">
   <metal:block define-slot="style_slot" />
 </metal:block>
 <metal:block fill-slot="main">
   <metal:block define-slot="body" />
 </metal:block>
</span>
</html>


More information about the z3-five mailing list