[Zope] Help with tal:condition
Steven Smith
steven@mustang1965.com
Wed, 19 Mar 2003 11:15:10 -0500
Bryan C. Andregg wrote:
>On Wed, Mar 19, 2003 at 10:27:39AM -0500, Steven Smith mailed:
>
>
>>I newbie and need some help figuring out tal:condition. I was able to
>>seperately get two tal:conditions to work on my plone site. However I
>>haven't been able to figure out how I can 'or' the two conditions
>>together. Can someone look at the conditions below and tell me how I can
>>"or" these two together, so I can use in a single div tag.
>>
>>tal:condition="not:here/portal_membership/isAnonymousUser"
>>tal:condition="python: (here.portal_url()!=here.aq_parent.absolute_url())"
>>
>>
>
>tal:condition="python: here.portal_url() != here.aq_parent.absolute_url() or not here.portal_membership.isAnonymousUser()"
>
>
Thanks, I knew it had to be something simple.
Steven