[Zope] Conditional sections

Dale Strickland-Clark zope at d.strickers.org.uk
Tue Feb 15 13:43:25 EST 2005


That works beautifully.

You see? I knew I was making a meal out of it.

Thanks.

On Tuesday 2005 February 15 17:42, Paul Winkler wrote:
> On Tue, Feb 15, 2005 at 04:52:12PM +0000, Dale Strickland-Clark wrote:
> > Alternatively, is there some other test I can make to see if this is
> > running inside a macro or not?
>
> Maybe just check the template id?
>
> tal:condition="python:template.getId() == 'footemplate'"

-- 
Dale Strickland-Clark
Riverhall Systems - www.riverhall.co.uk


More information about the Zope mailing list