skip page navigationOregon State University
OSU Home.|Calendar.|Find Someone.|Maps.|Site Index.
Prospective StudentsCurrent StudentsParents & FamilyFaculty & StaffAlumni & FriendsVisitors

Template Builder

 
Introduction
Identity Elements
Requirements
OSU Wordmark
Typography Standards
Style Sheets
Color Palette
.
Web Templates
Overview
Examples
Template Builder
.
Content
Recommendations
Writing for the Web
Editorial Style
.
Help
Accessibility
Training
Contacts
Resources
OSU Graphic Identity Standards




 

Frequently Asked Questions


( Return to Top )

Is my site secure?

Some pages are delivered using SSL. Secure pages begin with "https://", and need different output from the template builder to work correctly.


( Return to Top )

Is my site hosted on the central web server?

If you edit your pages on access.cws.oregonstate.edu, or if you are using your ONID web space, then your site is hosted on the central web server. It is important that you make this distinction because if you use non-central code on the central server the template will not work, and vice versa.


( Return to Top )

What kind of code do I need?

You can decide which code you need by your file extensions. Unless you are using non-default settings, PHP documents end with ".php" and HTML documents end with ".html" or ".htm". PHP code output can be managed by most reasonably up-to-date installations of PHP. HTML output can only be used on the central server, and uses an Apache extension called SSI.


( Return to Top )

What is my domain/path?

Your domain/path is the first part of your web address followed by the directory it is located in. The university's Google appliance uses this information to index your site for full-text searching. If you enter this field in properly, you will have a custom search feature that people can use to search only your site. View more information on the custom search tool.


( Return to Top )

How do I format my site navigation?

It is recommended that you use the template builder to create a page, because it gives you an example navigation panel in the correct location, so you have a better idea of exactly where it is supposed to go. Even if you aren't downloading or copy-and-pasting all of the template builder output, using its output as a guide for page structure is still very handy.

Site navigation uses unordered lists. Using CSS, these lists are formatted to look like a conventional navigation panel. Below is an example of the HTML required to create a navigation panel.

<h3>Navigation Header</h3>
<ul>
  <li>
    <a href="http://oregonstate.edu">OSU</a>
    <ul>
      <li><a href="http://oregonstate.edu/about/">About OSU</a></li>
      <li><a href="http://oregonstate.edu/academics/">Academics</a></li>
    </ul>
  </li>
  <li><a href="http://www.osucascades.edu/">OSU-Cascades Campus</a></li>
  <li><a href="http://oregonstate.edu/cws/">Central Web Services</a></li>
</ul>	

The navigation panel HTML has to be inserted into a <div> with the correct ID in order to have the correct formatting. If you are using the campus stylesheet, you may create a <div> with id="t_nav", and any unordered lists to put into that <div> will have the correct formatting.


( Return to Top )

What if I don't want navigation?

The template was designed for use with navigation. If you need the template for a simple page and do not want the navigation, you will need to disable the navigation.

To disable navigation, add this line to the top of your document between your <head> tags. Make sure it is after the regular campus stylesheet:

<link rel="stylesheet" 
  href="https://secure.oregonstate.edu/cws_templates/css/nonav.css" 
  type="text/css" media="screen"/>

( Return to Top )

How do I format my site for printing using CSS?

A good way to format your pages for printing is by including a print stylesheet. You may include the following stylesheet for print formatting. It will format the template so that when printed unnecessary colors, background images, and redundant content will not appear.

To add a print stylesheet, add this line to the top of your document between your <head> tags. Make sure it is after the regular campus stylesheet:

<link rel="stylesheet"
  href="https://secure.oregonstate.edu/cws_templates/css/print.css"
  type="text/css" media="print"/>	
Prospective StudentsCurrent StudentsParents & FamilyFaculty & StaffAlumni & FriendsVisitors