Forum Moderators: phranque

Message Too Old, No Replies

How do I add a google search box in my website?

         

Dakoom

2:02 pm on Jun 1, 2010 (gmt 0)

10+ Year Member



Hello, I need to add a google simple search box like this:

[___________] Search

And I want it to search all over different websites under my newtwork.
So, in the SERs I'd like to have results from mysite.com, from mysecondsite.com, mysite.com/community/, mylastsite.com, etc.

Is this possible?

weeks

2:32 pm on Jun 1, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes. And it works great. You can have it display search results from any sites you desire, anywhere.

I recommend paying for Google Custom Search (about $100 a year for most smaller sites). It's cleaner and you can even put your own ads in the results via their UI. (For $100, it's very cool.) But, you can get it for free if you don't mind Google's ads.

[google.com...]

Have fun.

Dakoom

3:06 pm on Jun 1, 2010 (gmt 0)

10+ Year Member



Ok, I just created a free one using the link you provided. Now.. I don't understand from where I can get just the simple code to show only this:


[___________] Search

And then how to customize the box. I need some custom css code for the form itself.

phranque

10:33 pm on Jun 1, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], Dakoom!

Designing the Look and Feel with the Control Panel - Google Custom Search API - Google Code:
http://code.google.com/intl/en/apis/customsearch/docs/ui.html [code.google.com]