Updating sites from v2.0 template to v3.0
This update method begins with the new template's version 3.0 core HTML file. A page's content is copied over from the old page into the new 3.0 core page. This works best for relatively small sites.
Pros:
- A chance to start over and clean up your pages and sites
- You only need minimal code experience
Cons:
- It takes time
Note: It is advised that you make a backup of your site files before beginning.
Download the core HTML file and open it in a Web editor (Dreamweaver, TextMate, etc.). Use the Template Designer to generate a new design key.
In the core, find the code below and replace the highlighted text with the design key generated by using the new Template Designer.
<!-- replace the key below - replace the key below - replace the key below-->
<link href="http://designer.wsu.edu/template/css2.aspx?key=0eab28zs011" type="text/css" rel="stylesheet" />Copy the navigation, site id, local footer, site specific stylesheet, and other site specific content from the v2.0 site and paste it into the core v3.0 file.
This can be done in one of two ways:
- In code view, find the div that needs to be copied over, <div id="nav">, all the way to the corosponding end div, </div>, and copy it. Then paste it over the the identitcal tags in your new document.
- In design view of the editor, copy the content from the Web site and paste it into the coresponding area in the editor.
Now a template has been built to update the Web site's pages.
-
Open the page that is to be transfered over. Copy the main, secondary, and additonal content areas and paste them into the corresponding areas on the new page. If the copying is done through code view, then each of these sections can be copied at the same time, but if these sections are being copied in design view, then it is recommended that each section be copied seperately.
Once the copying and pasting is done, close the old page and "save as" the old pages name. This will overwrite your old page (remember to create backups of your pages).
Continue this process until you are done.
Note: Remember to "save as" everytime so work done on the previous page isn't overwritten by the content on the current page.