Article Categories
Archives
Post Categories
  Jump to Information for:
Search:  

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 Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE
  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"></A>
    <INPUT TYPE=text name=q size=30 maxlength=255 value="">
    <INPUT type=submit name=btnG VALUE="Google Search" style="font-
    size:10">
    </FORM>
  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.

posted on Monday, July 18, 2005 9:00 AM
Comments
  • # SharePoint and Google
    Patrick Tisseghem's Blog [MVP Sh
    Posted @ 7/18/2005 10:46 PM
  • # re: Adding Google to SharePoint
    Luis Du solier G.
    Posted @ 7/19/2005 6:01 AM
    You have to specified in the first step that the url is not "C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE " should be "C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\Layouts"

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

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

  • # re: Adding Google to SharePoint
    Heather
    Posted @ 7/19/2005 8:46 AM
    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.
  •  re: Adding Google to SharePoint
    Kyla Ensor
    Posted @ 10/24/2008 9:23 AM
    For WSS 3.0, make sure the path is as follows:

    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\External\google.html

    ..and yes I did have to go one folder deeper per the post by Luis to get this to finally work.
Title  
Name  
Email (never displayed)
Url
Comments   
ALL COMMENTS ARE MODERATED! Sorry for the inconvenience, but it is how I keep all of the spam and advertisers out. I moderate comments about once a week and your comment will appear soon. Thanks for posting!
Please add 1 and 4 and type the answer here:

Copyright © 2005-2008. Heather Solomon.
Site design by Heather Solomon

Blog Stats:
Posts - 377
Stories - 38
Comments - 1556
Trackbacks - 182