A Poor Man's Google for SharePoint

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.

5 Comments

Comments have been disabled for this content.