Try this: <tal:block condition="your/condition/here"> <metal:block fill-slot="xxx"> blah,blah,blah </metal:block> </tal:block> it should work...
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of Sune Brøndum Wøller Sent: Monday, January 26, 2004 3:35 PM To: zope Subject: [Zope] fill-slot condition possible?
Hello, is it possible when using a macro to conditionally fill a slot ? In the same template, that is...
Sometimes i want the slot filled, other times i would like to keep the default content of the slot. This is easy with two distinct templates, but in the same template ?
-- Sune B. Wøller
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )