Search using external sites Google Search I am creating a Drupal site for a government agency, and we use Google Search for our websites. The problem I'm running into is the domain the site I'm creating is on is foo.com, and the search is supposed to be run through bar.gov.

My question is is there any way to get either the built in Seach module or the Google CSE module to submit the search query on the other domain? And if there isn't how would I go about creating either a block or content pane with the search box I need?

What I need is when you click Search on foo.com it directs you to bar.gov/gsearch?sitesearch=foo.com&amp;q=terms. Specifically getting a form's action to be the bar.gov/gsearch.
It's simple ,, if you know the HTML part so make your form action to the search site and call your GET parameters into the form!

something like this:

        &lt;form  action="bar.gov/gsearch" target="_blank" method="GET" id="search-block-form"&gt;
        &lt;input type="hidden" value="q" name="terms"&gt;
        &lt;input type="hidden" value="foo.com" name="search"&gt;
&lt;button type="submit" value="Search"&gt;Search&lt;/button&gt;
    &lt;/form&gt;


edit: you need to make sure you have HTML tags enabled and not stripped in anyway so the form and any other HTML tags be available .