Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [nir] Change search URL

Quote Reply
Re: [nir] Change search URL In reply to
You could maybe try:

Code:
my $new_query = $IN->param('query');
$new_query =~ s/\-/+/g;
$IN->param( 'query' => $new_query );

Probably need it in /Links/User/Search.pm, and not search.cgi (as I don't think we have access to $IN in search.cgi)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread; hot thread Change search URL nir 6930 Aug 25, 2009, 4:31 AM
Thread; hot thread Re: [nir] Change search URL
Andy 6834 Aug 25, 2009, 4:58 AM
Thread; hot thread Re: [Andy] Change search URL
nir 6810 Aug 25, 2009, 5:47 AM
Thread; hot thread Re: [nir] Change search URL
Andy 6840 Aug 25, 2009, 5:52 AM
Thread; hot thread Re: [Andy] Change search URL
nir 6811 Aug 25, 2009, 6:07 AM
Thread; hot thread Re: [nir] Change search URL
Andy 6811 Aug 25, 2009, 6:14 AM
Thread; hot thread Re: [Andy] Change search URL
nir 6810 Aug 25, 2009, 6:23 AM
Thread; hot thread Re: [nir] Change search URL
Andy 6831 Aug 25, 2009, 6:26 AM
Thread; hot thread Re: [Andy] Change search URL
nir 6815 Aug 25, 2009, 6:33 AM
Post; hot thread Re: [nir] Change search URL
Andy 6785 Aug 25, 2009, 6:34 AM
Thread; hot thread Re: [nir] Change search URL
nir 6764 Aug 25, 2009, 6:36 AM
Post; hot thread Re: [nir] Change search URL
Andy 6754 Aug 25, 2009, 7:01 AM