Google Site Search Add-on for the 2007 Template
This module adds Google Site Search and Google Suggest to the 2007 state template, version 1.20.
Instructions
- Download the files (zip).
- Extract the zip and copy the contents of the css, javascript, and ssi folders to the corresponding folders of your site.
- Open /ssi/header.html. Copy these lines to the top of the file.
<link rel="stylesheet" href="/css/search_gss.css" media="screen, projection, print, tv" type="text/css" />
<script type="text/javascript" src="/javascript/search_gss.js"></script> - You may use a search form that searches only your own website, or a form that allows the visitor to choose between your site and a statewide search.
- Search your own site only.
Open heading.html. Replace this line:
<!--#include virtual="/ssi/search.html" -->
with:
<!--#include virtual="/ssi/search.local_only.html" -->
Open search.local_only.html and update the sample ID at lines 13 and 25 with your own. - Search your site or search statewide.
Open heading.html. Replace this line:
<!--#include virtual="/ssi/search.html" -->
with:
<!--#include virtual="/ssi/search.local_and_statewide.html" -->
Open search.local_and_statewide.html and update the sample ID at lines 19 and 45 with your own.
- Search your own site only.
- Create a Search Engine Results Page.
