|
[% IF x %]
or
[% IF x == 'foo' %]
Combining constructs would be redundant.
----- Original Message -----
From: John Smith
Sent: Tuesday, July 19, 2005 4:02 PM
Subject: [Templates] checking for defined and exists in a
template Suppose I want to do an include only if something is defined,
how do I do it?
[% IF x.defined and x eq "foo" %]
[% INCLUDE myfile %]
[% END %]
something like that? can't seem to locate it in the
man pages.
Thanks.
Start your day with Yahoo! - make it your home page |
- [Templates] checking for defined and exist... John Smith
- Re: [Templates] checking for defined ... Jonathan Mangin
- Re: [Templates] checking for defi... John Smith
- Re: [Templates] checking for ... Brett Sanger
- Re: [Templates] checking for ... Jonathan Mangin
- Re: [Templates] checking for ... Jonathan Mangin
- RE: [Templates] checking for defined ... Garrett, Philip (MAN-Corporate)
