[ic] modify search to ignore hyphens - how to use [filter word]

DB DB at M-and-D.com
Thu Jun 24 09:20:50 EDT 2004


> I've done something like this by using a search profile.  Something like 
> this should work.
> 
> [set mysearch_profile]
>    fi=products
>    st=text
>    ml=25
>    so=category
>    se=[filter word [cgi searchparam]]
>    op=rm
>    cs=no
>    su=yes
> [/set]
> 
> Then use a form like this:
> 
> <form action="[area search]">
>    <INPUT type="hidden" name="mv_search_page" 
> value="your_search_results_page">
>    <INPUT TYPE="hidden" NAME="mv_profile" VALUE="mysearch_profile">
>    <INPUT MAXLENGTH=30 NAME=searchparam type=text size=10>
>    <input type="image" alt="Search Go" border="0" 
> src="__THEME_IMG_DIR__go.gif">
> </form>
> 
> The search profile can also be set up in the catalog.cfg
> 
> Hope this helps,
> Eric Small
> -- 
> Interchange 5.2.0 / Debian 3.0 Stable / PostgreSQL 7.4.1

That does the trick thanks! Now one more question... is there a way to 
do a single "or" search for both the filtered and the unfiltered string?


DB


More information about the interchange-users mailing list