All of the header and footer information on our web pages are programmatically generated using the following php scripts.
= change to content relevant to your site
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <head> <title>Libraries Web Site Template</title> <meta name="keywords" content="style guide, secondary page template"> <meta name="maintainer" content="Becky Schaefer, DLSD"> <meta name="package" content="style"> <?php include('2nd-header.php'); ?> </head> <body bgcolor="#ffffff"> <?php $location='<a href="/about/site.html">About This Site</a> >
<a href="index.html">University of Texas Libraries Graphic Guidelines</a> >
Libraries Web Site Template'; $menuitems=' <p><a href="/">First navigation item</a></p> <p><a href="second.html">Second navigation item</a></p> <p><a href="third.html">Third navigation item</a></p> '; include('2nd-surround.php'); ?> <h2>Electronic Media</h2> [CONTENT] <?php include('2nd-foot.php'); ?> </body> </html>
Your page title (<title>) should be succinct and unique. The page header (<h2>) should reflect the name of the link that a user followed to get to your page.
Your breadcrumb trail should follow navigational paths, not file structure. The titles of the drop down menus (e.g. Research Tools, Library Services) should be included in your path. You do not need to include the first item (Home) — it is added automatically to the beginning of every breadcrumb trail.
You menu items may each be in a new paragraph, or you may use one paragraph with many line breaks for large menus. No images should be used to separate items.
You may exclude the side menu by emptying the variable $menuitems.
<?php
$location='<a href="/about/site.html">About This Site</a> >
<a href="index.html">University of Texas Libraries Graphic Guidelines</a> >
Libraries Web Site Template';
$menuitems='';
include('2nd-surround.php');
?>