MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] If file exists... show it



On 23 Sep, Handytman@aol.com wrote:
> ******    message to minivend-users from Handytman@aol.com     ******
> 
> I have, on my results page, a mechanism to identify one-click searches. It 
> works because the search strings are category-names, and in a subdirectory of 
> my public HTML directory, there are .GIF files named after the categories.
> 
> This works fine (the picture displays): 
> [Unable to display image]
> 
> This also works (there's a category and a .GIF file named 'artifacts'):
> [if file 
> /opt2/home3/titanicmemorabilia/public_html/titanic/images/sys/artifacts.gif]
> [then]
>     [Unable to display image]
> [/then]
> [/if]
> 
> But this (what I really need) never works:
> [if file /opt2/home3/titanicmemorabilia/public_html/titanic/images/sys/[value 
> mv_searchspec].gif]
> [then]
>     [Unable to display image]
> [/then]
> [/if]
> 
> Any of you very experienced people know why not? Or see what I must change?
> 
> Thank you very much,
> Rob Maurer

Maybe this helps?

[if file __SAMPLEHTML__/images/sys/[value mv_searchspec].gif]


Place an extra codes anywhere in this page too to check the value of
mv_searchspec. E.g.

Is searchspec right? : [value mv_searchspec]

and look into the source code with your browser to check the image link!

Good lucks!

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen



Search for: Match: Format: Sort by: