<html><!-- #BeginTemplate "/Templates/2002.dwt" --><!-- DW6 -->
<head>
<!-- #BeginEditable "doctitle" --> 
<title>Dreamweaver for WIT 2002</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#003300" onLoad="MM_preloadImages('../../../img/2002logo-alt-over.gif')" leftmargin="0" topmargin="20" link="#0033CC" vlink="#009933" alink="#66CC66" background="../../../img/background2002.jpg">
<font face="Arial, Helvetica, sans-serif"> </font> <font face="Arial, Helvetica, sans-serif"> 
<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr>
    <td rowspan="3" width="163" valign="top" align="left"> 
      <p><a href="../../index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Logo','','../../../img/2002logo-alt-over.gif',1)"><img name="Logo" border="0" src="../../../img/2002logo-alt.gif" width="150" height="150"></a></p>
      <table width="100%" border="0" cellspacing="10" cellpadding="0">
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002home.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value="."><param name="BGCOLOR" value="#006600">
              
              <embed src="/Templates/2002home.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002about.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002about.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002homerooms.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002homerooms.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002curriculum.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002curriculum.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002software.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002software.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002mentor.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002mentor.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002projects.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002projects.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002feedback.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002feedback.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002search.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002search.swf" base=""  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
      </table>
      <div align="center"></div>
          </td>
    <td valign="top" align="left" colspan="2" height="47"> 
      <h1><!-- #BeginEditable "title" --> Templates in Dreamweaver<!-- #EndEditable --></h1>
    </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> <!-- #BeginEditable "body" --> 
      <h6>&nbsp;</h6>
      <a name="top"></a> 
      <table border="3" align="center" cellpadding="4" bordercolor="#009999" bgcolor="#99CC99">
        <tr> 
          <td><div align="center"> 
              <h5><a href="overview.htm">Overview</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="howtogethelp.htm">How to get help</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="sitesetup.htm">Site setup and maintenance</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="textetc.htm">Text, layout, styles, links</a></h5>
            </div></td>
        </tr>
        <tr> 
          <td><div align="center"> 
              <h5><a href="images.htm">Images</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="templates.htm">Templates</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="libraries.htm">Libraries</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="navbars.htm">Navigation bars</a>/<a href="altnavbar.htm"><br>
                Alternative version</a> </h5>
            </div></td>
        </tr>
        <tr> 
          <td><div align="center"> 
              <h5><a href="frames.htm">Frames</a> </h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="behaviors.htm">Layers and behaviors</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="extending.htm">Extending Dreamweaver</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="index.htm">Module Home</a></h5>
            </div></td>
        </tr>
      </table>
      <h6>&nbsp;</h6>
      <ul>
        <li><a href="#goal">Your goal for today</a></li>
        <li><a href="#planning">Planning and setting up a new curriculum web</a> 
          <ul>
            <li><a href="#telnet">Using Telnet</a></li>
            <li> <a href="#newsite">Setting up new site</a></li>
            <li><a href="#sitemap">Site map</a></li>
          </ul>
        </li>
        <li><a href="#creating">Creating a template</a></li>
        <li><a href="#updating">Updating pages</a></li>
      </ul>
      <h3><a name="goal"></a>Your goal for today</h3>
      <ul>
        <li> Prepare a new web site that could be used for a curriculum web (no 
          content necessary)</li>
        <li>Prepare a template and assign it to your curriculum web pages.</li>
        <li>Upload your new &quot;site&quot; to the server, and then show your 
          mentor.</li>
      </ul>
      <p><a href="#top">Back to the top.</a></p>
      <h3><a name="planning"></a>Planning and setting up a new curriculum web</h3>
      <ul>
        <li> 
          <h4>Today, I'm going to set up the web site you'll find <a href="curriculumweb/index.htm" target="_blank">here</a>. 
            You will create a similar structure.</h4>
        </li>
        <li>We'll create a new site now. Remember, you can have multiple sites 
          defined in Dreamweaver.</li>
      </ul>
      <h4><a name="telnet"></a>Using Telnet</h4>
      <ul>
        <li>First, use Telnet to create a new directory in your www directory 
          on the CUIP server. Click Start|Run and type &quot;telnet cuip.uchicago.edu&quot; 
          into the field. Click okay. A new window opens, and after a few seconds 
          you'll see a login prompt. Type your CUIP username. Then the password 
          prompt appears. Type your password. You will automatically be located 
          in your user directory.</li>
        <li>The key commands are cd (change directory), mkdir (make directory), 
          and pwd (present working directory). You might also want to use ls (short 
          listing) and ls -l (long listing; there's a space in there).</li>
        <li>Type &quot;cd www&quot; to switch to your www directory (this is the 
          directory that must contain all of your web pages, or folders containing 
          those web pages). </li>
        <li>To create a new directory (say &quot;curriculumweb&quot;), type &quot;mkdir 
          curriculumweb&quot;. </li>
        <li>To make sure this works, type &quot;cd curriculumweb&quot; then type 
          &quot;pwd&quot; (for present working directory). You should get a response 
          which indicates you are in the ~/www/curriculumweb directory. (The tilde, 
          or ~ indicates your home directory. &quot;www&quot; is a subdirectory 
          of your home directory, and curriculumweb is a subdirectory of your 
          www directory.</li>
        <li>Here is the sequence as it should appear in your telnet application:</li>
      </ul>
      <p><img src="img/dw24.jpg" width="579" height="164"></p>
      <ul>
        <li>Now type &quot;logout&quot; and click &quot;ok&quot; when it says 
          you've been disconnected.</li>
        <li>Now, returning to Dreamweaver:</li>
      </ul>
      <h4><a name="newsite"></a>Setting up new site</h4>
      <ul>
        <li>Go to the Site Files view by clicking on <img src="img/dw23.jpg" width="63" height="50" align="absmiddle"></li>
        <li>Then, click on the down arrow next to the site names:<img src="img/dw22.jpg" width="218" height="83" align="absmiddle"></li>
        <li>Then, choose &quot;Define Sites...&quot; and &quot;New&quot;</li>
        <li>Call the site &quot;Curriculum Web.&quot;</li>
        <li>Create a new local folder (on the Desktop, call it &quot;curriculumweb&quot;) 
          and define the site in the Local and Remote windows. (For reminders 
          of how to do this, <a href="sitesetup.htm" target="_blank">click here</a>.) 
        </li>
        <li>NOTE: to indicate the &quot;host directory&quot; on the remote info 
          dialog box, you can EITHER use the long string we used before, starting 
          with /home or /home2 OR you can use <b>www/curriculumweb</b> (with no 
          leading slash). Leaving out the leading slash tells Dreamweaver the 
          directory's path from your home directory. Putting in the leading slash 
          tells Dreamweaver the path from the server's root.</li>
        <li>Test the new setup by clicking &quot;Done&quot; and then clicking 
          the &quot;connect&quot;<img src="img/dw6.jpg" width="42" height="46" align="middle"> 
          button in the Site View window.</li>
        <li>If the connect doesn't work, check your Define Sites dialog and make 
          sure the &quot;host directory&quot; is the same as the new directory 
          you created a few moments ago. Make sure you haven't put any spaces 
          in the directory names and that you were consistent in your use of upper 
          and lower case. If you have trouble, ask your mentor.</li>
      </ul>
      <p><a href="#top">Back to the top.</a></p>
      <h4><a name="sitemap"></a>Site map</h4>
      <ul>
        <li>Let's use the site map to set up the structure of the new site. </li>
        <li>To do that, we must create and specify a home page for this new site.</li>
        <li>Right-click in Local window. Choose New File, then rename it &quot;index.htm.&quot; 
          Then, go back to Define Sites... and choose Site Layout, and click the 
          folder icon to specify the new file as your home page, thus:</li>
      </ul>
      <p align="center"><img src="img/dw25.jpg" width="605" height="518"></p>
      <ul>
        <li>Let's suppose we're creating a curriculum web that contains a home 
          page, 5 ten-minute demos, 5 mini activities, a final activity, and a 
          list of useful links.</li>
        <li>Open the site map view by clicking here: <img src="img/dw8.jpg" width="36" height="34"></li>
        <li>Your home page should show up. To create new files, right-click on 
          a file icon, and choose Link to New File. </li>
        <li>The resulting site would look like this:</li>
      </ul>
      <p align="center"><img src="img/dw26.jpg" width="529" height="179"></p>
      <ul>
        <li>And in the local folder view:</li>
      </ul>
      <p align="center"><img src="img/dw29.jpg" width="521" height="341"></p>
      <ul>
        <li>If you wish, you can use the Site Map view to add additional links 
          (from each activity back to the home page, and to a new file called 
          rubric.htm), like this:</li>
      </ul>
      <p align="center"><img src="img/dw27.jpg" width="555" height="219"></p>
      <ul>
        <li>You'll notice that any given page within your site will have no content 
          so far except any links you've added. For example:</li>
      </ul>
      <p align="center"><img src="img/dw28.jpg" width="437" height="169"></p>
      <ul>
        <li>Once you're done setting up your new site like this, you're ready 
          to set up a template for this site.</li>
      </ul>
      <a href="#top">Back to the top.</a> 
      <h2><a name="creating"></a>Creating a template</h2>
      <ul>
        <li>Templates are files that control the layout of a number of HTML files 
          in your site. You can use multiple templates per site and even have 
          files that do not rely on a template.</li>
        <li>Templates and Library Items perform similar functions, although templates 
          are better for controlling the layout of multiple pages, while Library 
          Items are better for adding identical content to multiple pages. (Difference 
          is that templates include entire page layout; libraries only affect 
          portions of the page.)</li>
        <li>Templates contain &quot;locked&quot; and &quot;editable&quot; regions. 
          (These are both editable in the template file, but in the documents 
          to which they are applied, only editable regions can be changed.)</li>
        <li>You can create a template at any time (before or after individual 
          pages are created). However, if you do it BEFORE, then you'll save an 
          additional step (that of modifying each page to use the template.) But 
          I'll demonstrate the process AFTER you have created individual files.</li>
        <li>To create a template file, you just create a new file, and then save 
          it as a template.</li>
        <li>In the Site View, click on File|New Window. A new page layout window 
          opens.</li>
        <li>Save it immediately as a template by clicking File|Save as Template. 
          Give it a name that makes sense. I've called mine curriculumwebtemplate. 
          Notice (in the Site View) that a new folder (Templates) has been created 
          and stored the new file as a *.dwt (for Dreamweaver Template). </li>
        <li>Saving it immediately as a template will spare you the problem of 
          accidentally saving it as a regular document later.</li>
        <li>The KEY THING about template files is that they are just like other 
          HTML files except they have &quot;editable regions.&quot;</li>
        <li><b>Editable regions</b> are the areas of a template file that contain 
          variable information, depending on the particular page. Everything that 
          isn't in an editable region is only editable on the template, and not 
          in the individual files to which it is assigned.</li>
        <li>Generally, your template files will have at least two editable regions: 
          doctitle and body. The doctitle region is created automatically. The 
          body will be manually created later.</li>
        <li>Here, I'll take you through the creation of the following template 
          file:</li>
      </ul>
      <table border="1" width="70%" align="center">
        <tr> 
          <td> <table border="0" align="center" cellspacing="0" cellpadding="3" bordercolor="#FF3333">
              <tr bgcolor="#66CCFF"> 
                <td colspan="7"> <div align="center"> 
                    <h3><font color="#FF3333">How to Create a Curriculum Web in 
                      Macromedia Dreamweaver</font></h3>
                  </div></td>
              </tr>
              <tr> 
                <td bgcolor="#FF3333" width="80" height="`"> <h4 align="center"><a href="http://webinstituteforteachers.org">WIT 
                    2001</a></h4></td>
                <td colspan="5" bgcolor="#66CCFF"> <div align="center"> 
                    <p><font color="#FFFFFF"><b><font color="#990000"><a href="http://webinstituteforteachers.org" target="_blank"><img src="../../img/wit2001-smaller.gif" width="120" height="120"></a><br>
                      A Web Institute for Teachers Curriculum Web<br>
                      </font></b></font><b><font color="#990000">by <a href="mailto:c-cunningham@uchicago.edu">Craig 
                      A. Cunningham</a></font></b></p>
                  </div></td>
                <td bgcolor="#FF3333" valign="middle" width="80"> <h4 align="center"><a href="../../index.htm">Module 
                    Home</a></h4></td>
              </tr>
              <tr bgcolor="#FF3333"> 
                <td> <div align="center"><a href="../../demo1.htm">Demo 1</a></div></td>
                <td width="80"> <div align="center"><a href="../../demo2.htm">Demo 
                    2</a></div></td>
                <td width="80"> <div align="center"><a href="../../demo3.htm">Demo 
                    3</a></div></td>
                <td width="80"> <div align="center"><a href="../../demo4.htm">Demo 
                    4</a></div></td>
                <td width="80"> <div align="center"><a href="../../demo5.htm">Demo 
                    5</a></div></td>
                <td width="80"> <div align="center"><a href="../../finalactivity.htm">Final 
                    Activity</a></div></td>
                <td> <div align="center"><a href="../../links.htm">Links</a></div></td>
              </tr>
            </table>
            <p>&nbsp;</p>
            <p>{BODY}</p>
            <p>&nbsp;</p>
            <p align="right"><font color="#800080"></font></p></td>
        </tr>
      </table>
      <div align="center"></div>
      <h3>Steps</h3>
      <ol>
        <li> Open a new page editing window. (Click &quot;File|New Window&quot; 
          or &quot;File|New&quot;)</li>
        <li>Click File|Save as template. Give it a name that makes sense, like 
          &quot;curriculumweb&quot;. If you get an error that no editable regions 
          have been created, ignore the message for now.</li>
        <li>The file will automatically be saved into a new folder called Templates 
          and will receive the file extension &quot;.dwt&quot; for &quot;DreamWeaver 
          Template.&quot; </li>
        <li>Insert a table with 3 rows and 7 columns, 100% of window, border = 
          0.</li>
        <li>Merge the cells in the top row of the table into one. To do this, 
          hold the mouse just to the left of the top row. When the cursor looks 
          like a right arrow, click. (Or, click and drag over the top row.)</li>
        <li>To merge the cells, click the &quot;merge cells&quot; button on the 
          property inspector: <br>
          <img src="img/dw4wit30.jpg" width="194" height="160"> </li>
        <li>This will turn the top row into one cell. Type a title into the cell, 
          for example &quot;How to Make a Curriculum Web Using Dreamweaver.&quot; 
          Center it in the cell by clicking the middle of these buttons: <img src="img/dw13.jpg" width="59" height="20"></li>
        <li>Now merge the center 5 cells of the middle row. Click and drag to 
          select the five cells, and then use the merge button.</li>
        <li>Type some suitable text into this new merged cell, for example &quot;A 
          Curriculum Web produced by YOUR NAME in WIT 2001.&quot;</li>
        <li>To change the background colors of cells, select them and use the 
          Bg field to select a color.</li>
        <li>In the third row of the table, type text corresponding to the areas 
          of your sample curriculum web, for example: 
          <table border="0" align="center" cellspacing="0" cellpadding="3" bordercolor="#FF3333">
            <tr bgcolor="#FF3333"> 
              <td> <div align="center">Demo 1</div></td>
              <td width="80"> <div align="center">Demo 2</div></td>
              <td width="80"> <div align="center">Demo 3</div></td>
              <td width="80"> <div align="center">Demo 4</div></td>
              <td width="80"> <div align="center">Demo 5</div></td>
              <td width="80"> <div align="center">Final Activity</div></td>
              <td> <div align="center">Links</div></td>
            </tr>
          </table>
        </li>
        <li>Add links to the text you just typed.</li>
        <li>At the end of the table, put in a series of blank lines (press Enter 
          four or five times.)</li>
        <li>Save the template file. (Since you already saved it as a template, 
          you should choose File|Save, NOT File|Save as... or File|Save as template....). 
          If you get an error message that you haven't created any editable regions, 
          just ignore the message for now.</li>
        <li>Now it is time to add the main &quot;editable region&quot; of your 
          template. So far, everything we added into the page will be the same 
          on all the pages of the site. These are &quot;locked regions.&quot;</li>
        <li>To make a new editable region, select several of the lines at the 
          bottom of the page. Then click Modify|Templates|New Editable Region. 
          Give the new region the name &quot;body&quot; (or something else descriptive). 
          This will be the area of the page that will alter in each page in the 
          site.</li>
      </ol>
      <h4>Notes:</h4>
      <ul>
        <li>To create the navigation links to each of the demos, simply create 
          a link to that file. Templates are smart enough that they will work 
          even if actual files using the template are scattered among various 
          folders in the site.</li>
        <li>It is a good idea to put a blank line before the BODY region.</li>
        <li>To add a new editable region, place the cursor where you want it and 
          use Modify|Templates|New Editable Region..., or, select the area you 
          want editable and choose Modify|Templates|New Editable Region... </li>
        <li>When you give names to your editable regions, use names that make 
          sense to you, like &quot;body&quot; (if there is one major one), &quot;contents,&quot; 
          or (for more than one) &quot;leftregion&quot; and &quot;rightregion.&quot;</li>
        <li>You cannot define multiple cells of a table as one editable region. 
          You can, however, define an entire table or just one cell as editable. 
        </li>
        <li>When you save your template, Dreamweaver will ask if you want to update 
          the pages in your site that use the template. You'll usually choose 
          &quot;yes,&quot; unless there are no such pages.</li>
      </ul>
      <p><a href="#top">Back to the top.</a></p>
      <h4><a name="applying"></a>Applying the template to pages</h4>
      <ul>
        <li>To apply the template to each page in your site, you need to open 
          each file individually, then choose &quot;Modify|Templates|Apply Template 
          to page.&quot; Select the new template from the list (if you have multiple 
          templates). You will then be asked where to put the content of the page. 
          Choose the &quot;Body&quot; region. When you save each document, it 
          will be linked to the template.</li>
        <li>If, after you apply the template to your page, you want to edit the 
          non-editable regions of the page, you can either open and edit the Template 
          (Modify|Templates|Open Attached Template), or you can choose &quot;Modify|Tempates|Detach 
          from Template.&quot; The template's look and content will remain with 
          the document. (However, if you detach the template, new changes to the 
          template will not be reflected in any pages with detached templates.)</li>
      </ul>
      <h4>Activity: Create a template for your curriculum web site. Include links 
        to major files in the site, and a &quot;Body.&quot;</h4>
      <h2><a name="updating"></a>Updating pages</h2>
      <ul>
        <li> 
          <p>Open your template. Change it. Save it. You'll now be asked if you 
            want to update all the pages in your site that use the template. Choose 
            Yes. Make sure it worked.</p>
        </li>
      </ul>
      <p>Once you've created your template and applied it to all the pages in 
        your &quot;site,&quot; upload the site to the server. Show your mentor. 
      </p>
      <p><a href="#top">Back to the top.</a> </p>
      <h2>Your goal for today (again)</h2>
      <ul>
        <li> Prepare a new web site that could be used for a curriculum web (no 
          content necessary)</li>
        <li>Prepare a template and assign it to your curriculum web pages.</li>
        <li>Upload the new &quot;site&quot; to the server. Show your mentor.</li>
      </ul>
      <p><a href="#top">Back to the top.</a></p>
      <p>&nbsp;</p>
      <h4 align="right"><a href="libraries.htm"><font face="Arial, Helvetica, sans-serif">Next 
        Lesson. </font></a></h4>
      <p>&nbsp;</p>
      <!-- #EndEditable --> </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> 
      <table width="100%" border="3" cellspacing="3" cellpadding="5" bordercolor="#003300" align="left">
        <tr> 
          <td><h6 align="left"> <font color="#006600">The contents of the Web 
              Institute for Teachers website are Copyright 1999-2002, University 
              of Chicago. No one may print, copy, or otherwise reproduce these 
              materials without the express written permission of the Director 
              of the Web Institute for Teachers. </font></h6>
            <h6 align="left"><font color="#006600"> The current time is 
              <!--#config timefmt="%I:%M %p on %A %b %d, %Y"-->
              <!--#echo var="DATE_LOCAL"-->
              . This page was last modified on 
              <!--#config timefmt="%b %d, %Y" -->
              <!--#echo var="LAST_MODIFIED"-->
              . It has had 
              <!--#exec cgi="/cgi-bin/nmi/textcounter/witcounter.pl"-->
              . </font></h6>
            <h6><font color="#006600">Please use the <a href="/2002/feedback/index.htm">Feedback</a> 
              button to tell us how you like this page.</font></h6>

			  </td>
        </tr>
      </table>
      <h6>&nbsp;</h6>
    </td>
  </tr>
</table>
</font>
</body>
<!-- #EndTemplate --></html>
