|
|
Converting old course pages
If you have already created course pages, here's how to change them to integrate with the "look & feel" of our new web design. NOTE: If your current pages use frames, you will need to convert them to a non-frameset layout first.
-
Copy and paste the following line into the header section (somewhere between the <head> and </head> tags):
<!--#include virtual="/include/_header.html" -->
-
Copy and paste the following line immediately after the <body> tag:
<!--#include virtual="/include/_begin.html" -->
-
Copy and paste the following line immediately before the </body> tag:
<!--#include virtual="/include/_end.html" -->
-
There is a program on the system called HTML-Tidy that will check and fix your HTML syntax, check your page for compliance with accessibility standards, provide warnings and suggestions for fixing violations, and format your HTML code for better human readability. Always check your work with this program by invoking it with htmltidy filename now and whenever changes are made (Example: htmltidy index.html). WARNING: Your file will be overwritten! HTML-Tidy is usually very intelligent, but can have unpredictable results with especially poorly written HTML. Therefore, when in doubt, keep backup copies.
Also, remember that you should run www_setup to make sure that all permissions are set correctly.
That's it! Since all the actual formatting is done by centrally located "include" files, any future modifications to our web site's design will be automatically incorporated into your pages.
|