Google Site Search
For T29, artA05, artA06 and horizontal CSS menu templates
This support info is for templates that include a "search.js" and a "OPTIONAL-search-SIMPLE.js" for the Google site search setup. If you have a "search.js" but your template does not include a "OPTIONAL-search-SIMPLE.js" see this support page. If you want to add a search to a template see this support page.

Search .js file locations:
The template search .js files you will be editing may be located either in your main template folder with your HTML pages or in your template "extras" folder.

Option #1: Simple Google setup:
For the easiest search setup to search your site, delete or rename the "search.js". Rename the "OPTIONAL-search-SIMPLE.js" to "search.js". Edit the "var searchdomain" in the now renamed "search.js" with your website domain name. Test the form on one of your template pages. Google should now search "your site only" from your template search box.

Option #2: Integrated Google setup:
This is the default option setup in the template in your download. This can be involved to setup but will use your template logo header and footer in the search results.
  1. Create a Google account if you do not have one.
  2. Create a search engine (login to your account.)
  3. Follow the directions at Google to setup the search and click the "finish".
  4. Go to the control panel for the search and find the "code" link.
  5. On the code page click on the "Search box and search results code for your website". New code will appear on the page.
  6. Copy all the code from the 2 boxes on this page and paste this into a text file you create by right clicking in your template folder and choosing "new" then "text document". Save this text file.
  7. You will now edit the "search.js" in 3 places. With your domain name, your Google "id" and your Google "cx" from the "CSE Search Box" that you just created in your Google account. Click here to see areas to edit in the search.js.
  8. From your saved text file, copy all the "Google Search Result" code, open the "search_results.html", find the search results code in the page now and paste your results code over this code. Be sure to upload this HTML page when you upload.


Option #3: Burgdorf's WebSearch:
An "OPTIONAL-Burgdorf-search.js" will be included with your template download. For a custom non-Google, no ads website search see Burgdorf's WebSearch setup.

Allwebco Template Support


Allwebco Website Template Support


Template Search:
Site Search
Burgdorf's Search
Google Site Search