Closed (works as designed)
Project:
Google Programmable Search Engine
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2010 at 16:53 UTC
Updated:
12 Jun 2013 at 20:03 UTC
Comments
Comment #1
php5engineer commentedEasy way to do this is to replace line 1094 modules/search/search.module
to
Comment #2
rsharkey commentedAugmenting the core search module is not a very good idea. These changes will have to be remade if you ever update your core Drupal modules.
Instead, it would be best to create a custom module to alter the search form redirect. This way your code can live on even if you do a core Drupal update.
I have posted my source code for such a custom module in this thread here: http://drupal.org/node/391926#comment-6831472
If anyone needs any assistance, I would be happy to help.
Comment #3
dwwYes it's possible. I just did it on a D7 site and it's working fine.
Restoring the title so the issue makes more sense.