Local search form
Note: You must be using the CSS UNL Templates.
For those of you using the new templates, you can have a custom Google Search page for your department and a box for searching your site.
Here's how to add it to your site:
- Send the following info to Brett Bieber: Address of the web sites you wish to include in the search results (just the main page(s) are fine)
- Add the following code to your navigation and create a search page
Add the following bit of html to your /sharedcode/navigation.html before your navigation list:
<div id="local_search">
<form action="FIXME" id="localSearchForm" method="get">
<div id="localSearchQuery">
Stuff goes here.
</div>
<input type="image" alt="Search" src="/ucomm/templatedependents/templatecss/images/transpixel.gif" id="localSearch-Button" name="localSearch-Button"/>
</form>
</div>
Make a page on your site (html, php, etc.) that has the following in the maincontent area:
<!-- Google CSE Search Box Begins -->
Stuff goes here.
<!-- Google CSE Search Box Ends -->
<!-- Google Search Result Snippet Begins -->
Stuff goes here.
<!-- Google Search Result Snippet Ends -->
Replace FIXME with the correct url to this newly created page.



