University of Minnesota Morris Computing Services

 
UMM Home > Computing Services > Guides > Web Design > UMM Templated SSI

UMM Templated SSI

If you are using the UMM templated pages for your site layout, you can easily include the left navigational links in an SSI html page. First, you have to find the area on the html page that includes the left navigational links, and then create a file that contains that text. To find where the left navigational links begin, open up an html editor and hold ctrl+f (command+f for macs) to open up a search window. Paste this text:

<!-- InstanceBeginEditable name="left navigational links" -->

and click OK to find that text in the document. The end of the left navigational links can be found in the same way, but by using this text for searching instead:

<!-- InstanceEndEditable -->

Everything between these two lines of code (not including!) is the left navigational links. Cut out all of this text out by using ctrl+x (command+x for macs) and putting it into a new seperate shtml file. Make sure that the only text in the shtml file is the code you cut. Replace the code that you cut out in the templated page with this code instead:

<!--#include virtual="yourfile.shtml" -->

This will allow you to edit the "yourfile.shtml" file and have all pages that reference the "yourfile.shtml" file be updated simultaneously.