I guess it's working, but I'm trying to put those 2 radio buttons with mysite.com and google right under the search input box.

Does this depend on the settings for the GSE in google configuration pages? Or does this have to do something with your module?

Btw, your module has dropped in at the right time:)

Thank you

Comments

mfb’s picture

I didn't have a need for multiple search options so I haven't looked into this yet.
For this you may need two different Google custom search engines, one that searches your site and one that searches the whole web.
It should be possible to extend the module to support multiple CSEs, if anyone is inclined to write a patch..

mishhh’s picture

Interesting idea.
I didn't thought of 2 custom searches:)

I will investigate it. The implementation is the hard part.

mfb’s picture

Another possibility is if there's a GET parameter that google CSE looks for, and if present it presents a generic google search in the iframe.. but I don't know if this exists.

mfb’s picture

Version: 5.x-1.0 » 6.x-1.x-dev
Category: support » feature

Marking this as a feature request. A patch to support this functionality would be welcome.

mfb’s picture

Status: Active » Fixed

This is more or less supported by the new SiteSearch feature I just added, so I'm marking fixed for now, but please re-open if it doesn't meet your needs.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.