[ic] loop search fails with SQl database

Ton Verhagen interchange-users@icdevgroup.org
Thu Jun 26 06:45:01 2003


Quoting Rolf Schaufelberger <rolf.schaufelberger@web.de> :
> >Have you tried adding st=db to your [loop] tag's search spec.?
>
>Well this works. But it doesn't look veriy logical to me, as products has be
>defined to be a sql-databse table.
>
>Appling the same to the search form doesn't work however.
>Taken the code form tutorial and taken the code from demo (foundation store ,
>search-box-samll) one works, the other doesn't:
>
>code:
>=========   <
>form action="[area search]" method=post>
>    Suche:<br>
><!-- code doesn't work -->
>1   [set testname]su=yes/sf=description/st=db[/set]
>2    <input type=hidden name=mv_profile value=testname>
>3    <input type=text name=mv_searchspec size=15 value="">
[...]


Rolf, you'd better try this:

[set testname]
su=yes
sf=description
st=db
[/set]



Best regards,

Ton

--
Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info@alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting