University of Minnesota
University Relations
http://www.umn.edu/urelate
612-624-6868
Your College Name > Your School Name

Unit's home page.

Updating Old Template Code

What's changed?

In order to rework the code so that bullets would automatically appear in the body of the page, a great deal of recoding was necessary to make sure bullets didn't appear in other areas, like the template header and footer. The following files have been updated.

How can I update my code?

There is no "one size fits all" instruction for updating old template code to new. The changes you make and the way you make them will depend on how you've altered the original template code while building your site.

Updating the code for an entire site is a step-by-step process. Outlined below are the basics for updating a standard site. You may need to make additional changes based on your own code and/or your use of content management.

  1. Make a copy of your site on your hard drive.
  2. Replace all the original css docs with the new css docs from the download.
  3. Copy and replace small pieces of your pages. For example, start with the <!--BEGIN CAMPUS LINKS--> section. Copy the old code for that section and replace it with the new. Do the same for the <!--BEGIN UofM TEMPLATE HEADER --> section, the <!-- BEGIN Unit Graphic Header for home page --> section, and the <!-- BEGIN Unit Graphic Header for secondary pages --> section.
  4. Add the #main_wrapper style and "if" statements for the IE style sheets found directly below the style sheet links in the new code.
  5. If you're using the print style sheet, be sure that the <!--BEGIN WORDMARK AND UNIT IDENTIFICATION FOR PRINT --> section is directly under the <body> tag.
  6. Add the new <!-- * Skip Links * --> section directly below the print section.
  7. Rework your left navigation, if necessary. The new code will not properly display the stylized <hr> in the left navigation. The <hr> has been removed and the main left navigation and related links are now all in one <ul>.

After making these changes, test your pages. Compare your code with the template code to make adjustments if something isn't working. If you run into problems, let us know.

Change meta and alt tags

Don't forget to change meta and alt tags! The description and meta tags in the HTML at the beginning of all templates should be changed to reflect what is on the page.

See more about meta tag information on the eCommunication Standards site.

When you change or add images, remember to change the alt tag! For example, the alt tag for the graphic heading on this page reads "Go to unit's home page." That should be updated to spell out the name of your unit.