Converting from the old template
For users using the previous version of the KU template, converting over to the new look and feel should be relatively simple, but does involve a few steps. You have the option of simply switching the last line of your current "myheader" file to point to the new KU template, but this may yield some undesirable results. Below is the recommended process for converting from the old template to the new.
Note: The below instructions are assuming you are using Dreamweaver MX 2004 or later for your website maintenance.
1) Creating a test site
Important: The web site test copy is only functional for web sites on www2.ku.edu. Access to your cgi-bin is not possible from the test copy.
- In dreamweaver, click "Site"->Manage Sites
- Select your site and click "duplicate" (this will make a new site called "site - copy")
- Click on your new site, and click "edit". Make sure you are now in the "advanced" tab
- Change your site name to something like "site - test"
- For the local root folder, select a new blank folder somewhere on your computer
- Click the "Remote Info" category on the left side of this screen
- Make your "Host directory" blank if it is not already
- Upload or "put" your public_html_test folder to the remote site
- Click "ok" and then "done"
- In your files view, switch to "Remote View", and connect to the remote server
- Right-click on public_html, and choose "edit->duplicate". This will create a duplicate copy of your site.
- Rename the new "Copy of public_html" to "public_html_test" by clicking on the folder and selecting "edit->rename"
You have now created a copy of your web directory "public_html", named it "public_html_test" and are ready to begin updating your web pages. As long as you are careful to only modify files within "public_html_test", your real web site will be unaffected while you work. Your new "test" site will be located at http://www2test.ku.edu/~accountname.
2) Updating your header file
- Add the following line to the top of your myheader.shtml file:
<!--#set var="kuoldcompatible" value="1" --> - Now change the old code from:
<!--#include virtual="/~http/ssi/header_ku.shtml" -->to
<!--#include virtual="/~http/ssi/2009/header_ku.shtml" -->
3) Testing your site
- Return to the Local/Remote Files view.
- Select the "public_html_test" folder by clicking on it once.
- Select the "myssi/myheader.shtml" file and click the Up arrow at the top of the file view. This is the tool to "Put file(s)" onto the web server.
http://www2test.ku.edu/~accountname
Replace "accountname" with the actual name of your account, and you should be able to see the test copy of your web site in your web browser.
Important: In the test web site any scripts in your cgi-bin directory will be disabled. You will be unable to test the template in your scripts using the test URL.
At this stage, you may wish to make other modifications to your header file or your stylesheet. Please refer to the configuration options section for your header file, and the CSS guide for your stylesheet.
4) Making your test site "live"
- In your dreamweaver file browser, change to "Remote view".
- Right-click on your "public_html" folder and choose "edit"->rename
- Rename the folder to "public_html_old"
- Right-click on your "public_html_test" folder and choose "edit"->rename
- Rename the folder to "public_html"
- Go to your site and verify that it is working correctly
That's all there is too it! Congratulations on converting your site to the new KU template!




top