projects techreports press lab location staff
citi top.2 top.3
citi mid.3
bot.1 bot.2 bot.3
star

help: Add a CITI page

How to "Make A CITI Page":

I don't know if you've noticed but most (if not all) of the CITI pages look the same. It is done this way to bring some order to this otherwise chaotic world that we live in.
The way that we make all of our pages look so simular is Server Side Includes (SSI). These are commands inserted in the page that the server parses, and executes. We just have SSI's at the top and bottom of the page.

How to add the SSI's and be cool: First put the header on the page.

  • Delete the WHOLE HEADER of your page. That means from the first line of the page to past the <body ... > tag. You should even include the title of that page in that mass deletion!
  • Add this to the top of your page (nothing before it (no <HTML> or anything!)):
    	<!--Top-->
    	<!--#include virtual="/include.top.1" -->
    	title
    	<!--#include virtual="/include.top.2" -->
    	title
    	<!--#include virtual="/include.top.3" -->
    
    Of course you must repace BOTH "title"'s with the title of the page preferably in this format: SECTION : TITLE. So if you made the new smartcard page the title would read: "projects : smartcards".
    NOTE: you dont need to put the "CITI:" or the "Center for Information Technology Integration" in the titles. They are already there - you just didn't look at the actual include files!
    also -- please make the titles different for each page like adding a ": links" to the links page. This makes the browsing easier!
  • This added the proper html start of page commands, the title, a nice heading, and the top navigation section.
Now for the footer!:
  • Delete the </body> and </html> tags, and anything else at the bottom of the page (including the navigation section (all the links)).
  • Add this to the absolute bottom of the page:
    	<!-- Bottom navigation and info section (start)-->
    	<!--#include virtual="/include.html" -->
    
    	</BODY>
    	</HTML>
    
  • This added the bottom navigation section, and made sure that it looked right.
blank.space
b.star projects | techreports | press | lab | location | staff Email address
or call +1 734 763 2929
Copyright © 1996-2013
The Regents of the University of Michigan
bottom.line
citi