User:Pegeraki/HB Template

From WolfTech
Jump to navigation Jump to search

WolfTech Webteam Handbook

The ECE Template

The ECE Template is located in shared folder of the beta folders directory (eos/engrwww/ece/beta/shared). Please do not modify this file directly. Instead, when you begin working on a page, make a copy of template and place it in your beta folder. By doing this, you can begin editing the file in your beta folder direct and just resave it with another name.

When you begin editing the ECE Template, the first thing you need to look for is this line:

$pageTitle = "ECE: ";

Once you find this line, you will need to finish it by filling in what you want the rest of the web page title to be. For instance, if I am writing a page which would appear in the News section of the ECE site, the line would read:

$pageTitle = "ECE: ";

Doing this will ensure that your webpage displays the proper title.

The next line of code you are looking for is this one:

<?PHP //sidebar(""); ?>

In between of the two quotation marks, you need to fill in the name of the correct sidebar you are going to use. A list of the current sidebars can be found at: http://www.ece.ncsu.edu/tools/sitemanager/sidebars/index.php

When you are ready to place the main body of your webpage, that entire code should go in between these two tags:

<td valign="top">&nbsp;</td>