Adding Google to SharePoint

Bil has a great method for adding a Google search (for the web not your site) to a SharePoint site. Via Bil:

Snapped this up from one of the SharePoint mailing lists. It’s a super cheap way to get a Google search on your site:

  1. Navigate to C:Program FilesCommon FilesMicrosoft Sharedweb server extensions60TEMPLATE
  2. Create a new folder called “external”
  3. Inside the folder create a single HTML page with the following contents:<FORM method=GET action=”http://www.google.com/search
    target=”_blank”>
    <A HREF=”http://www.google.com/” target=”_blank”>
    <IMG SRC=”http://www.google.com/logos/Logo_40wht.gif” border=”0″
    align=”absmiddle”>

    <INPUT type=submit name=btnG VALUE=”Google Search” style=”font-
    size:10″>

  4. Save the file as “google.htm”
  5. Next drop a Page Viewer Web Part onto your page and point it to the page you created. The url to the page will be http://servername/_layouts/external/google.htm

Simple, easy, fast, and free. No web part installations required. If you want something more sophisticated you can check out Mark Wagner’s real Google Web Part (with full source code) here.

Thanks to Chris Dimarco for the information above.

 

3 thoughts on “Adding Google to SharePoint”

  1. You have to specified in the first step that the url is not "C:Program FilesCommon FilesMicrosoft Sharedweb server extensions60TEMPLATE " should be "C:Program FilesCommon FilesMicrosoft Sharedweb server extensions60TEMPLATELayouts"

    Well, i tryed and i have to do this change to make it work…

    Luis.
    http://spaces.msn.com/members/lduso

  2. Luis – thanks for the tip. I was able to get it to work as listed, but I am sure others may run into your same issue.

  3. For WSS 3.0, make sure the path is as follows: C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12TEMPLATELAYOUTSExternalgoogle.html..and yes I did have to go one folder deeper per the post by Luis to get this to finally work.

Comments are closed.