Step 1: Creating a header file
The KU Template utilizes server-side includes(SSI). You have the ability to customize the template for your department by altering the default template settings. Overall settings for your entire site should be included in your site's header file. The following instructions explain how to create a header file for your website.
- Create a new page using your favorite web development tool. If you are using Dreamweaver you will need to be in Code View rather than Design View. Your page should be completely blank of any code or content at this point.
- Copy and paste the following Server-Side Include settings into the blank file.
<!--#set var="logo" value="Logo name here (check logo listing for name)" --> <!--#set var="bgoption" value="backgroundchoice (background1, 2, 3, or 4)" --> <!--#set var="topnav" value="/~accountname/myssi/topnav.shtml" --> <!--#set var="leftnav" value="/~accountname/myssi/leftnavigation.shtml" --> <!--#set var="myfooter" value="/~accountname/myssi/myfooter.shtml" --> <!--#include virtual="/~http/ssi/2009/header_ku.shtml" -->
- Customize the values in your new file with your site's settings. A full list of setting options is available here. Don't forget to change "accountname" to your actual account name.
- Save your file. The rest of these instructions assume that you've saved this settings file in a sub-directory of public_html called "myssi", with a filename of "myheader.shtml". The full name of the file on the web server should look similar to this:
/~accountname/public_html/myssi/myheader.shtml




top