[ic] if [item-increment]
Joachim Leidinger
interchange-users@interchange.redhat.com
Fri Feb 22 03:19:00 2002
music@labyrinth.net.au wrote:
>
> Using 4.8.3
>
> I am trying to have the results.html page show an image for the first 4
> products in the returned list.
>
> My guess is that I have to use some thing like this within the search-list.
>
> [if [item-increment] < 5] <img src="whatever"> [/if]
>
> Could someone advise the correct code to make this work?
>
> Thanks!
> Simon
Try
[tmp counterimg][item-increment][/tmp]
[if scratch counterimg < 5] <img src....>[/if]
or with
[calc]'[scratch counterimg]' + 1[/calc][/tmp]
[if scratch counterimg < 5] <img src....>[/if]
....
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de