Template Usage:
How to Apply the Template
The following information assumes usage of Macromedia Dreamweaver,
knowledge of Server Side Includes (SSIs), possession of
the "GOLDENMASTER.zip" and
that your website is hosted at www.csulb.edu
Before extracting "GOLDENMASTER.zip," identify the
following elements of your division's website:
- Global navigation menu(s) or navigation menu(s) that will display
on every page of your Division's website.
- Banner(s) that will be used for the division.
- Footer(s) that
will be used for the division
- Copy the
HTML for
each of the identified elements and paste into a separate
file. (Note: Remove all
head and body tags and content.)
View the source for guidance: SAMPLE
GLOBAL
MENU, SAMPLE
BANNER, SAMPLE
FOOTER
Extract GOLDENMASTER.zip using any archive extraction software available
to you.
For example: WinZip(PC) or Stuffit (MAC). ***PC users
ensure that "use folder names" is checked.
Using the "GOLDENMASTER" to create a *.dwt
- Create a backup of "goldenmaster" folder
- a. Bring the goldenmaster.dwt into the /Templates directory
b. Bring /ADMIN directory into site root
c. Update any references to "goldenmaster" in goldenmaster.dwt
code by using find
and replace to update the following text in the
HTML source
/misc/staging/goldenmaster
with
/divisions/(division_name) or the root-relative path to your directory
d. Make sure paths to menu and other includes are modified
in goldenmaster.dwt
- If libraries are NOT being used for menus skip to #4:
a. convert libraries to SSI, strip unnecessary html
and change extension to .htm
b. move/copy them to /ADMIN/interface/
- Now that the location to your includes
have been updated we can paste content into the following files:
a. Global navigation
menu = ADMIN/menu_top/menu_top.html
b. Banner = ADMIN/interface/banner_website.html
c. Footer = ADMIN/interface/footer.html
- Modify the file located at /ADMIN/interface/breadcrumbs.html
to change:
http://www.csulb.edu/misc/staging/goldenmaster
to
http://www.csulb.edu/divisions/(division_name)
- Save "goldenmaster.dwt"
a.
Upload "sample.html"
b. View "sample.html" in a browser. This confirms "goldenmaster.dwt" is
correctly installed.
- Save "goldenmaster.dwt"
as "division.dwt"
-. if prompted, set all editable regions to NOWHERE
Applying the Template
New pages
- Create a file based on "division.dwt".
- Cut and paste content
into the editable region named LAYOUTBODY
Current pages based on the old template:
- Apply the template to the pages.
|