[ic] Small Search Box: How to ignore a field in products.txt?
kevin at cursor.biz
Tue Aug 14 16:36:35 EDT 2007
L C <iluvsnm2 at yahoo.com> 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
> 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:
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users