[Zope] checking variables
Sean Robertson
seanr@infi.net
Wed, 4 Aug 1999 12:11:27 -0400
I am trying to check for the existance of a variable that is passed in the
URL. The statement is as follows:
<!--#if cconnect==true-->
(code block one)
<!--#else cconnect==true-->
(code block two)
<!--#/if cconnect==true-->
The problem is that I always get the second code block. What am I doing
wrong? Here is the relevant section of the documentation for the version
that I have:
Conditional insertion is performed using if and else commands. For
example:
<!--#if name-->
text
<!--#/if name-->
where name is the name of the item.
To include text when a test is false use:
<!--#else name-->
text
<!--#/else name-->
To include text when an item is true and to include different text when
the item is false use:
<!--#if name-->
true text
<!--#else name-->
false text
<!--#/if name-->
Sean Robertson
Multimedia Artist, PilotOnline
seanr@infi.net