[ic] [if file....] confusion.
Andrew Metcalfe
interchange-users@icdevgroup.org
Thu Aug 22 15:29:01 2002
I'm confused.
>From the documentation:
[if file /home/user/www/images/[item-code].gif]
<IMG SRC="[item-code].gif">
[/if]
Then why doesn't the following line work?
[if file /var/lib/interchange/catalogs/hwmpro/images/company-files/[value
company]/logo/[value company].jpg]
<IMG SRC="[value company].jpg">
[else]
/var/lib/interchange/catalogs/hwmpro/images/company-files/[value
company]/logo/[value company].jpg
[/if]
In each case, the if is failing, and the correct string is being displayed
by the 'else'.
I've set "SafeUntrap ftfile" in interchange.cfg
_Am