[ZPT] Filling slots in METAL macros...
Evan Simpson
evan@digicool.com
Wed, 25 Jul 2001 15:58:33 -0400
Tony McDonald wrote:
> In my obox page template, I have this..
> <div metal:define-macro="obox">
> ...
> <th><b metal:define-slot="var1">title for Obox</b></th>
> ...
> </div>
>
>
> I have tried this;
> <html metal:use-macro="here/obox/macros/obox">
> ...
> <div metal:fill-slot="obox">
> </div>
The slot names need to match, and you probably want the tag to remain a
<b> tag:
<b metal:fill-slot="var1">Local Title</b>
Cheers,
Evan @ Zope