|
|
|
Using Horticulture Format
When you have a new Horticulture web page you want to add
the Horticulture format to, follow these steps:
- Give the file a
.php extension. (e.g. newfile.php)
- Put the following text at the top of file (In Dreamweaver, view source code to place at the top):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>
Your New Page's Title
</TITLE>
<?php include ("includes/header.php") ?>
- Put the following text at the bottom of your file:
<?php include ("includes/footer.html") ?>
- Look at the web folder your file is/will be saved in. Count how many folders away is it from the main WWW directory.
Examples (colors only for clarity):
- 0 Folders away: WWW/
- 1 Folder away: WWW/pumpkin/
- 2 Folders away: WWW/homehort/hcompost/
- 3 Folders away: WWW/Musser/peachs/images/
- 6 Folders away: WWW/courses/sustainable_schoolyards/Designing_SSHs/sustainability papers/Hort208 Fall 2000/HTML Presentation folder/
- For each folder away, put one "
../" in front of includes/header.php
at the top of your file.
Examples (colors only for clarity):
- 0 Folders away:
<?php include ("includes/header.php") ?>
- 1 Folder away:
<?php include ("../includes/header.php") ?>
- 2 Folders away:
<?php include ("../../includes/header.php") ?>
- 3 Folders away:
<?php include ("../../../includes/header.php") ?>
- 6 Folders away:
<?php include ("../../../../../../includes/header.php") ?>
- Put the same number of "
../" in front of includes/footer.html
at the bottom of your file.
- (Optional) If you want a banner without images,
change header.php to
headerNoPicture.php.
If you have a banner of your own and don't want a banner at all, change header.php to
headerNoBanner.php.
The mission of Clemson University's Department of Horticulture
is to promote personal and professional growth through the
discovery, communication, and application of horticultural
experiences, knowledge, and scholarship. Our work fosters
environmental stewardship while improving economic wellbeing,
health, and quality of life for all.
|
|