[Zope] Help with tal:condition

Bryan C. Andregg bryan.andregg@duke.edu
Wed, 19 Mar 2003 10:25:10 -0500


--fu8LepSeDvpxVgv6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
> seperately get two tal:conditions to work on my plone site. However I=20
> haven't been able to figure out how I can 'or' the two conditions=20
> together. Can someone look at the conditions below and tell me how I can=
=20
> "or" these two together, so I can use in a single div tag.
>=20
> tal:condition=3D"not:here/portal_membership/isAnonymousUser"
> tal:condition=3D"python: (here.portal_url()!=3Dhere.aq_parent.absolute_ur=
l())"

tal:condition=3D"python: here.portal_url() !=3D here.aq_parent.absolute_url=
() or not here.portal_membership.isAnonymousUser()"
--=20
Bryan C. Andregg		Duke University Medical Center
 Programmer			Dept. of Anesthesiology
 e <bryan.andregg@duke.edu>
 p +1 919 684 6201

--fu8LepSeDvpxVgv6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+eIvWj9pElyS/cakRAhm9AJ9p3YkfvaMhHbmoAFFSsXuPw2KmJgCfR3oK
tgytPBfUiJ7TUoj7R025ngE=
=g/j2
-----END PGP SIGNATURE-----

--fu8LepSeDvpxVgv6--