<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" --> Dreamweaver Site Setup and Maintenance<!-- #EndEditable --></h1>
    </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> <!-- #BeginEditable "body" --> 
      <p>&nbsp;</p>
      <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>
      <ul>
        <li><a href="#goal">Goal for this lesson</a></li>
        <li><a href="#key">Key Concept</a></li>
        <li><a href="#a">The &quot;Define Sites&quot; dialog</a></li>
        <li><a href="#c">Creating a new site</a></li>
        <li><a href="#b">Downloading an entire existing site</a></li>
      </ul>
      <h3><a name="goal"></a>Goal for this lesson</h3>
      <p>Set up a new site and create two subdirectories, with a few linked pages. 
        Upload this new site to the CUIP server. </p>
      <p><a href="#top">Back to the top.</a></p>
      <p>This document is available as a <a href="sitesetup.pdf" target="_blank">PDF 
        Handout</a>. (Requires Adobe Acrobat Reader. If you don't have it, click 
        this button: <a href="http://www.adobe.com/products/acrobat/readstep.html" target="_blank"><img src="../../../2001/img/getacro.gif" width="88" height="31" border="0"></a>)</p>
      <h3><a name="key"></a>Key Concept</h3>
      <p>In order to create a web site, you need to create a temporary place to 
        store the files as you're working on them. This temporary place will be 
        on your computer (the one you're sitting in front of), and it is known 
        as the &quot;<b>Local Root Folder</b>.&quot; </p>
      <blockquote> 
        <blockquote> 
          <p><b>Local </b> -- on your &quot;local&quot; machine, the one that 
            is right in front of you; your computer.</p>
          <p><b>Root </b>-- root as in the root of a tree, the BASE of the site, 
            or the entry point. (You can think of this as being at the bottom 
            of the site, like the root of a tree, or at the top of the site, like 
            a organizational chart.</p>
          <p><b>Folder</b>-- the container for the files in the website. Everything 
            in the site must be in the folder or a subfolder of it, including 
            images, HTML files, etc.) </p>
        </blockquote>
      </blockquote>
      <p>Once you have created your site, or are done working on it for a time, 
        you will &quot;Put&quot; or publish the contents of the Local Root Folder 
        up to the CUIP Server. </p>
      <p><a href="#top">Back to the top.</a></p>
      <h2><a name="a"></a>The &quot;Define Sites&quot; dialog</h2>
      <p>The Define Sites dialog box is accessed from the Site Files view.</p>
      <p>To access the Site Files view, click <img src="img-mx/todefinesites.jpg" width="33" height="22"> 
        on the menu on the Site listing.</p>
      <p>To open the <font face="Arial, Helvetica, sans-serif">Edit</font> Sites 
        dialog box, either click Site|<font face="Arial, Helvetica, sans-serif">Edit</font> 
        Sites... or click the arrow on the Site drop-down menu<img src="img/dw4wit14.jpg" width="171" height="33"> 
        and choose &quot;<font face="Arial, Helvetica, sans-serif">Edit </font>Sites...&quot;.</p>
      <p>The dialog box has two important categories: local info, and remote info. 
        (other parts are optional). To choose the right category, click it under 
        the &quot;Category&quot; list on the left side.</p>
      <p>Here's the local info to set up my personal site on the CUIP server:</p>
      <blockquote> 
        <p><img src="img/dw4.jpg" width="511" height="433"></p>
      </blockquote>
      <p>The Site Name is arbitrary (whatever you want it to be). </p>
      <p>To choose the Local Root Folder, click the yellow folder icon <img src="img/dw4wit15.jpg" width="17" height="16">. 
        This brings up this dialog box:</p>
      <blockquote> 
        <p><img src="img/dw4wit16.jpg" width="434" height="351"></p>
      </blockquote>
      <p><font color="#FF0000">DON'T</font> use the Dreamweaver Program folder 
        as your Local Root Folder. (If you do, you'll end up with lots of extraneous 
        files in your site.)</p>
      <p>Then, either find the folder you want to use as your local folder using 
        the drop-down box or create a new folder.</p>
      <p>When using a computer in a lab, it is probably best to create a new folder 
        on the Desktop. To do this, use the scroll-bar in the drop-down menu to 
        scroll all the way to the top, and choose Desktop. (Or, simply click the 
        <img src="img/dw4wit18.jpg" width="21" height="23"> button to go directly 
        to the Desktop.) </p>
      <p>Then, use the <img src="img/dw4wit17.jpg" width="28" height="25"> icon 
        to create a new folder. Call it something descriptive, like &quot;Craig's 
        Curriculum Web.&quot;</p>
      <p>The name of the Local Root Folder does not matter. This folder will NOT 
        appear on the server when you publish your site.</p>
      <p><a href="#top">Back to the top.</a></p>
      <hr>
      <p>When you first click the category &quot;Remote Info,&quot; you'll get 
        a screen like this:</p>
      <blockquote> 
        <p><img src="img-mx/dwmxremote.jpg" width="564" height="577"></p>
      </blockquote>
      <p>Click the arrow on the drop-down menu and choose FTP.</p>
      <p>Here is the remote info for <font face="Arial, Helvetica, sans-serif">a</font> 
        site on the CUIP server. </p>
      <blockquote> 
        <p><img src="img-mx/dwmxremoteinfo.jpg" width="563" height="577"></p>
      </blockquote>
      <p>The &quot;FTP host&quot; will always be <b>cuip.uchicago.edu</b> if you're 
        using the CUIP server. If you're using another server, it might be something 
        like <b>ftp.neiu.edu</b> or <b>webspaces.artic.edu</b>. This field will 
        NEVER include any slashes ( / ).</p>
      <p>The &quot;host directory&quot; field should be &quot;www.&quot; This 
        is a subdirectory of your main account directory. Any files that you create 
        for the web MUST be in the &quot;www&quot; directory or a subdirectory 
        of the &quot;www&quot; directory.</p>
      <p>In the &quot;Login&quot; field, type your CUIP user name. </p>
      <p>Leave &quot;Password&quot; blank for now. If you type it in, the &quot;Save&quot; 
        box is checked, and anyone who uses the computer you're setting the site 
        up on would be able to edit your web files. Only type your password in 
        if you are using a private, secure computer.</p>
      <p>If you DON'T type your password now, you will be asked for it later when 
        you &quot;connect&quot; to the site you've defined.</p>
      <p>Leave the other three boxes (Passive FTP, Firewall, and Check In/Out) 
        UNchecked.</p>
      <p>When you're done filling the fields, click OK. Then, at this box, click 
        done:</p>
      <blockquote> 
        <p><img src="img-mx/dwmxsitedone.jpg" width="280" height="255"></p>
      </blockquote>
      <p>When the computer asks if you want to create a Cache file, click yes. 
        (Unless you already have lots of files in your Local Root Folder, creating 
        the cache file will be very quick.</p>
      <p><a href="#top">Back to the top.</a></p>
      <h4><a href="telnet.htm">Optional diversion: using telnet to look at the 
        files and folders on the CUIP server.</a><br>
      </h4>
      <h2><a name="c"></a>Activity: Creat<font face="Arial, Helvetica, sans-serif">e</font> 
        a new site:</h2>
      <ul>
        <li>Create local and/or remote folders to contain the site.</li>
        <li>Set up local and remote info in the Define Sites boxes (this procedure 
          is described <a href="#a">above</a>). (Local and/or remote directories 
          can already contain files.) Call the site &quot;My first site&quot; 
          or something like that. (If you already have files in your &quot;www&quot; 
          directory, you will probably want to make a subdirectory of &quot;www&quot; 
          as your remote host directory. See your mentor for help with this.)</li>
        <li>Create and/or link files together into a site. 
          <ul>
            <li>Suggestion: 
              <ul>
                <li>Create three new files: index.htm, page1.htm, and page2.htm. 
                  (In the Site View, choose File|New File. The file will appear 
                  in the Local Root Directory with the name &quot;untitled.htm.&quot; 
                  Rename the files what you want by right-clicking (or control-clicking) 
                  the file and choosing &quot;Rename.&quot;)</li>
                <li>Open each new file and add links to the other two files. (See 
                  Overview for basic instructions.)</li>
                <li>Create two new subfolders (subdirectories) in the Local Root 
                  Folder, one called subfolder1 and the other called subfolder2. 
                  (In the Site View, choose File|New Folder. Then rename the folder 
                  what you want.)</li>
                <li>Create new files in each of the new subfolders. (Highlight 
                  the folder name, and choose File|New File.) Call these new files 
                  index.htm. (Each folder can have an index.htm file in it. This 
                  file is always the &quot;default&quot; file loaded when a the 
                  user browses to a directory or folder.)</li>
                <li>In the &quot;index.htm&quot; file in the local root folder, 
                  add links to the two new files, like this:</li>
              </ul>
            </li>
          </ul>
        </li>
      </ul>
      <p align="center"><img src="img/dw4wit22.jpg" width="469" height="357"></p>
      <ul>
        <ul>
          <ul>
            <li>You'll end up with a site that looks like this:</li>
          </ul>
        </ul>
      </ul>
      <p align="center"><img src="img/dw4wit21.jpg" width="548" height="262"></p>
      <ul>
        <li><font color="#FF0000">Warning!!</font> If you already have files in 
          your CUIP account folder, do not PUT the new site directly into the 
          &quot;www&quot; directory of your site, or you will overwrite any existing 
          files with the same names (such as &quot;index.htm.&quot; In this case, 
          set your &quot;remote host directory&quot; to a subdirectory of your 
          &quot;www&quot; folder. Please ask your mentor for help with this.</li>
        <li>Now, &quot;put&quot; the site by going to site files view, and clicking 
          the top-level folder you want to &quot;put&quot; (or hold shift and 
          click individual files), then clicking the Put button: <img src="img/dw7.jpg" width="98" height="106" border="1" align="middle"></li>
        <li>ALWAYS check your &quot;put&quot; by using Netscape to browse to the 
          URL you expected, and making sure files or changes were uploaded. In 
          this case, your URL will be something like &quot;http://cuip.uchicago.edu/~username.&quot;</li>
      </ul>
      <p><a href="#top">Back to the top.</a></p>
      <h2>OPTIONAL SECTION: <a name="b"></a>Downloading an entire existing site</h2>
      <ul>
        <li>If you have already created a web site and want to download it to 
          a different computer (or the same computer in which the local root folder 
          has been deleted or damaged), follow this procedure.</li>
        <li>You'll also want to use this procedure to continue to work on a web 
          site on another day, if your local root folder has been deleted or you're 
          at a different computer.</li>
        <li>Set up the local and remote info in the site define dialog boxes</li>
        <li>Connect using the icon in the site files view that looks like:<img src="img/dw6.jpg" width="42" height="46"></li>
        <li>Choose the highest level folder, or all the files you want to download. 
          Click <font face="Arial, Helvetica, sans-serif">the Green &quot;Get&quot; 
          button </font>: <img src="img/dw7.jpg" width="98" height="106" border="1"></li>
      </ul>
      <p><a href="#top">Back to the top.</a></p>
      <h2>&nbsp;</h2>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <h4 align="right"><a href="textetc.htm">Next Lesson.</a></h4>
      <!-- #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>
