[ic] Loop Search Question

Paul Jordan jordan at gishnetwork.com
Thu Jul 17 00:20:20 UTC 2008

> Hi,
> I have the following component that displays the latest 3 items added
> to the store. I want to limit the results to products that do not have
> an image name of "default.gif" (products with a image named
> default.gif are usually so new that they are missing not only images,
> but descriptions and pricing as well).
> [loop
> r"]
> <p><a href="[area [loop-code]]">[loop-field title]</a> - <br><span
> class="content_left_top_bold">[loop-code] ([convert-date
> format="%m-%d-%Y"][loop-field date_added][/convert-date])</span></p>
> [/loop]

Assuming you are using a stock IC, just add another search set
(sf,op,se,nu), as you are already using co=1. However, it does not really
seem like that search is doing anything... there is no se parameter. I don't
use the stock IC or these types of searches, but it could be as easy as


But I can forsee problems with the se part in there (it's probably not
valid). The [query] tag will happily take this ala

	WHERE image <> 'default.gif'


More information about the interchange-users mailing list