[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] If file exists... show it
On Fri, Oct 01, 1999 at 12:07:50AM -0400, Victor Nolton wrote:
> ****** message to minivend-users from Victor Nolton <ven@pragakhan.com> ******
>
> I've been tinkering with this example and some others examples from
> the list. Could someone suggest what I am doing wrong?
>
> [if file
> /usr/home/bheath/webpage/bbbstore/images/spring99/[item-field
> thumbnail]]
> <IMG SRC="[item-field thumbnail]" ALT="[item-field title]" BORDER="2">
> [else]
> <IMG SRC="missingthumb.jpg" ALT="[item-field title]" BORDER="2">
> [/else]
> [/if]
Have you tried:
[if file /usr/home/bheath/webpage/bbbstore/images/spring99/[item-field thumbnail]][then]
<IMG SRC="[item-field thumbnail]" ALT="[item-field title]" BORDER="2">
[/then][else]
<IMG SRC="missingthumb.jpg" ALT="[item-field title]" BORDER="2">
[/else]
[/if]
It's been a while since I've worked in stock MiniVend, but if memory serves,
don't you have to have a [then] block if you have an [else] block?
--
Andy <turner@mint.net>
Mr. Teapot says...
... stop walking on me! It hurts!