Updating sites from v2.0 template to v3.0
This update method begins with a site's existing HTML files and uses a Web developement tool's "search and replace" function to find three code sections and replace them with updated code.
Note: The site's/page's current design key needs to be put in the fields that have been hightlighted. If customizations have been made on the site, then they too will need to reflected in the code below. "Find and replace" can be used to update small sections as outlined in the "What's changed" tab.
Using Dreamweaver
Dreamweaver's "Find and Replace" function can be initiated by pressing the "Ctrl+F" keys or by locating it in the "Edit" menu.
Once the "Find and Replace" window is open, ensure "folder" is selected in the"Find in:" dropdown and "text" in the "Search:" dropdown. The steps below are defined by "Find" and "Replace" which reflect the "Find and Replace" window's fields.
- Be sure to put the current design key into the highlighted area in the Find section and put the new design key into the Replace area.
Find
Replace<!-- favorites ico -->
<link rel="shortcut icon" href="http://www.wsu.edu/favicon.ICO">
<!-- replace the key below - replace the key below - replace the key below-->
<link href="http://designer.wsu.edu/template/css.aspx?key=11f4Caf0axx041" type="text/css" rel="stylesheet" />
<!-- replace the key above -->
<!-- print style sheet -->
<link href="http://images.wsu.edu/css/print.css" rel="stylesheet" type="text/css" media="print"/></head><body>
<!--Beginning of the WSU Identifier Zone. Refer to www.wsu.edu/identity/ for more information. -->
<script language="Javascript" src="core2-0_files/wsuidentifier.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">var strHeader; strHeader = getHeader();document.write(strHeader);</script><div id="logo"><a href="http://www.wsu.edu/"><img src="core2-0_files/logo2.gif" alt="Washington State University - World Class Face to Face" width="149" height="98"></a></div><div></div><div id="globalnav"><ul><li><a href="http://index.wsu.edu/">A-Z Index</a></li><li><a href="http://www.about.wsu.edu/statewide/">Campuses</a></li><li><a href="https://my.wsu.edu/">myWSU</a></li><li><a href="http://search.wsu.edu/">WSU Search</a></li><li><a href="http://www.wsu.edu/">WSU Home</a></li></ul></div>
<noscript>
<div id='logo'><a href='http://www.wsu.edu'><img src='http://www.wsu.edu/navigatewsu/gen2/logo2.gif' alt="WashingtonState University"/></a></div><div id='globalnav'> <ul> <li><a href="http://www.wsu.edu">Washington State University</a></li> </ul>
</div>
</noscript>
<!--End of the WSU Identifier Zone. -->
<div id="idwrapper">
<!-- favorites ico -->
<link rel="shortcut icon" href="http://images.wsu.edu/favicon.ico" />
<!-- 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" />
<!-- replace the key above -->
</head>
<body>
<!--Beginning of the WSU Identifier Zone. Refer to www.wsu.edu/identity/ for more information. -->
<div id = "wrapper"><noscript><div id='globalnav'><ul><li>Washington State University</li></ul></div><div id='logo'><a href='http://www.wsu.edu'><img src='http://images.wsu.edu/global/bg-logo.jpg' alt="WSU Logo"/></a></div></noscript>
<script language="Javascript" src="http://images.wsu.edu/javascripts/wsuidentifierV2.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
var strHeader; strHeader = getHeader(); document.write(strHeader);
</script>
<!--End of the WSU Identifier Zone. --> - Find
</div>
Replace
<div id="content"><div id="content">
- Find
<!--Beginning of the WSU Global Footer Zone. Refer to www.wsu.edu/identity/ for more information. -->
Replace
</div><!--end of wrapper-->
<!--Beginning of the WSU Global Footer Zone. Refer to www.wsu.edu/identity/ for more information. -->