Todd Bleeker's 12 Hive

All MindsharpBlogs

Are you pondering what I'm pondering?

My Links

Post Categories

Archives

Blog Stats

Todd's Google Search Web Part

Currently, my favorite Web Part, hands down, is the Content Editor Web Part (CEWP). In the coming weeks, I'll be posting a series of examples demonstrating how you can alter the style and/or behavior of any Web Part Page using the CEWP without unghosting the instance of that page. You can then make these effects available to your end users via the Site Gallery or the Virtual Server Gallery. See my previous blog post with how to deploy it. Very cool stuff,  but I digress...

Today I want to share my Google Search Web Part with you:

Since this Web Part is based on the Content Editor Web Part, you already have the assembly needed to run this Web Part. It is contained in the microsoft.sharepoint.dll. Therefore, you only need to downloaded my DWP, unzip it, and place it into a Web Zone on your Web Part Page.

Note: The icon used by the Web Part in the Tool Pane and the icon on the left edge of the Web Part are referencing images on the Internet. So, if you are not connected to the Internet you will see an image placeholder instead.

Here are some of the features:

  • Click on the "G" icon to open a new browser window that defaults to http://www.google.com.
  • Type keywords into the textbox and click or click on the Go button.
  • The Go button has the same rollover and click presentation as SPS.
  • Search results are opened in a new browser if the New checkbox is checked (the default).
  • Change the Web Part's chrome to have a different Title than Google Search OR remove the Title Bar entirely using the standard Appearance properties in the Tool Pane.

Please contact me if you have problems with the Web Part or you enhance it with additional features.

Enjoy,

<Todd />

posted on Thursday, August 04, 2005 6:34 PM

Feedback

# re: Todd's Google Search Web Part 8/9/2005 3:07 PM Jim Duncan

Awesome! Great work Todd!

# re: Todd's Google Search Web Part 8/10/2005 4:48 PM Michael

This is brilliant, thank you

# Content Editor Web Part (CEWP) Series 10/25/2005 2:01 PM Todd Bleeker's 60 Hive

# Content Editor Web Part (CEWP) Series 10/25/2005 3:08 PM Todd Bleeker's 60 Hive

# re: Todd's Google Search Web Part 11/10/2005 3:14 PM Tom

Great love it

# Color Picker Web Part 2/9/2006 4:25 AM SharePoint in Pieces

# re: Todd's Google Search Web Part 3/24/2006 8:00 PM JB

My execute search "green arrow" is not showing up. It shows a red x and says execute search. Any ideas?

# re: Todd's Google Search Web Part 8/2/2006 7:22 AM Billy Mantooth

I hate stupid questions, but here is good one. Is there any way to restrict the search to my site and subsites?

# re: Todd's Google Search Web Part 10/31/2006 1:30 PM Jim Chrapowicz

Will your webpart work under WSS 3?

# re: Todd's Google Search Web Part 10/31/2006 2:37 PM Todd Bleeker

If it doesn't, it will only take a couple of tweaks to make it work. So, be sure to follow the guidelines established here:
http://mindsharpblogs.com/todd/archive/2006/03/10/1006.aspx

<Todd />

# re: Todd's Google Search Web Part 11/12/2006 3:39 AM Sup D00d

When I try to search it errors out with "Please enter one or more search words"

# re: Todd's Google Search Web Part 11/13/2006 8:11 AM Todd Bleeker

The error that you describe is actually just an informational message. I first check to see if any text has been entered into the textbox before submitting the search. Search engines won't search if there isn't at least one letter to search for. Enter something into the search textbox before hitting Enter or clicking the Go button.

<Todd />

# Adapt to other search engines? 2/12/2007 7:22 AM Detlef

Hi there,

is there an easy way to adapt the webpart to other serach engines too? I would like to place a second instance of it on my site which searches http://dict.leo.org

# re: Todd's Google Search Web Part 7/19/2007 5:05 PM ben

http://egeriaqw.cn/c/80|email fun buddies
http://lynceusos.cn/c/34|seagrams whiskey
http://enchantingos.cn/c/12|jon heder

# re: Todd's Google Search Web Part 12/1/2007 1:11 AM patrick

PLZ HELP ME WITH MY PASSWORD & EMAIL ADDRES.

#  pr5 pr6 bloglar - Sayfa 3 - Google Fan Webmaster Forum 9/21/2008 6:53 AM Pingback/TrackBack

pr5 pr6 bloglar - Sayfa 3 - Google Fan Webmaster Forum

#  pr5 pr6 bloglar - Sayfa 3 - Google Fan Webmaster Forum 9/21/2008 6:53 AM Pingback/TrackBack

pr5 pr6 bloglar - Sayfa 3 - Google Fan Webmaster Forum

# re: Key Performance Indicators in SharePoint Server 2007 11/22/2008 6:45 PM SharePoint Cafe

# &quot;Google&quot; Search Drop Down | keyongtech 1/21/2009 7:31 PM Pingback/TrackBack

&quot;Google&quot; Search Drop Down | keyongtech

#  4 ki?inin girmedi?i site pr4 oluyor - Google Fan Webmaster Forum 4/2/2009 4:37 AM Pingback/TrackBack

4 ki?inin girmedi?i site pr4 oluyor - Google Fan Webmaster Forum


Comments on this post are closed.
Title  
Name  
Url
CAPTCHA
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments