[Zope] Conditional sections

Paul Winkler pw_lists at slinkp.com
Tue Feb 15 12:42:36 EST 2005


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'"

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list