Q. How can I add the search form to my SSU pages?

A. If your SSU website uses the University's standardized design, then your site already has a search form.

If you need to add the search form elsewhere on your site, copy and paste the code sample below into your page.

Search Form

This form uses a single text input and button, and searches all public University web pages. The "Search SSU" label is required for accessibility, but can be hidden with CSS.

<form id="ssucsugoogle" method="get" action="http://search.calstate.edu/search">
<fieldset><legend style="display:none;">Search</legend>
<input type="hidden" name="access" value="p" />
<input type="hidden" name="site" value="sonoma" />
<input type="hidden" name="output" value="xml_no_dtd" />
<input type="hidden" name="client" value="sonoma-edu" />
<input type="hidden" name="sort" value="date:D:L:d1" />
<input type="hidden" name="proxystylesheet" value="sonoma-edu" />
<input type="hidden" name="oe" value="UTF-8" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="hidden" name="ud" value="1" />
<input type="hidden" name="exclude_apps" value="1" />
<label for="search">Search Sonoma State</label>
<input type="text" name="q" maxlength="235" id="search-box" value="" title="Search Box" />
<input type="submit" name="btnG" value="Go" id="search-submit" />

Custom Search Results and Site-Specific Searches

If you want to limit search results to your SSU site, please contact the IT Web Office to request a new Google collection.

Related FAQs: