28 Mar
2001
28 Mar
'01
11:39 a.m.
On Wed, Mar 28, 2001 at 12:24:03PM +0100, Jonathan Cheyne wrote:
what simple error am I making?
<dtml-if expr="(type==['course','event'])">
which i hoped would proceed on either basis but in fact always fails.
... <dtml-if expr="(type=='course')"> works ...
What you want to say may be <dtml-if expr="type in ['course','event']"> if you are expecting type to be either 'course' or 'event' but not a list of the two strings (I took off the parentheses since they are superfluous). -- jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/