L C <suppressed> wrote:
> In products.txt, under prod_group, I have a group of
> items which I've labeled "database only."
>
> I do not want these items showing up in any search
> results.
>
> What do I need to add to the code below
> (small_search_box component) to have the search ignore
> any items defined as 'prod_group=database only'. I'm
> such a nubie so I kindly ask you to be specific! I've
> tried so many different things to no avail.
>
You could use the Database directive's HIDE_FIELD modifier.
HIDE_FIELD prevents marked rows from showing up in any resultset,
except when produced by a direct SQL query (using the [query] tag,
or whatever). See here:
http://www.interchange.rtfm.info/icdocs/Database_reference_guide.html#HIDE_FIELD
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ suppressed
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.