SSU Web Standards - Other Elements of SSU's Web Tempates

This site is still in development. Some content is not yet posted, some may be changed at a later date.

Directory Structure

The SSU Web Templates have the following subdirectories (where dept is the department's web root level directory name:

  • /dept/css - contains department.css and other CSS files created by the department.
  • /dept/images - contains the images included with the template.
  • /dept/ssi - contains search-navbars.html, navigation.html, footer.html and local-navigation.html

Recommended Directory Structure for Content

Screenshot of Dreamweaver Files view - click to zoom.

We recommend that Department web sites organize content into subdirectories that mimic the Left Navigation. This makes it easier for most Department web editors to maintain the site successfully.

For example, this Web Standards site has the following sections in the Left Navigation:

  • Web Standards Home
  • Page Types
  • Content Styles
  • How the Templates Work

The content for those navigational sections are stored in four subdirectories:

  • standards
  • pagetypes
  • content
  • how-to

The starting page in each subdirectory should be named index.html

.htaccess

This text file makes the web server process each page in the directory (and subdirectories) for Server Side Includes. Without this file, pages with Server Side Includes must use the .shtml or .shtm extension.

Some computers will not allow files to be named .htaccess, so the Templates include a file called "htaccess.txt". Upload this file to the server, then rename it ".htaccess" on the server.

Htaccess files can also be used to redirect old URLs to new URLs and point to custom error pages. Contact the Web Office for assistance with .htaccess files.

Google Analytics

The University uses Google Analytics to track website use. The SSU templates include a link to the University's Google Analytics account for www.sonoma.edu. This script is the last line before the closing </head> tag.

<script src="/js/analytics.js" type="text/javascript"></script>

Department web editors must not remove the Google Analytics script from the template pages, or insert anything between the Google Analytics script and the closing</head> tag.

Departments may have access to Google Analytics data, and they may have access to their own dedicated Google Analytics reports. Contact webmaster@sonoma.edu to request this.

Search

The University's search engine indexes and searches most campus websites. The templates include a search form that will pull results from the campus-wide index.

Departments may have a search form that allows the visitor to search only the department site. This requires some configuration of the search engine, so Deparment web editors must contact the Web Office to request this. More information about using the campus search engine is on the Web Office FAQ.