6 Replies Latest reply on May 11, 2010 8:52 AM by Tahl

    Relink a Dreamweaver template

    Tahl Level 1

      This question has been asked but it doesn't appear to get answered. I am adding a template that was originally used to build pages in a site to my directory. I have refreshed the site cache. Making changes to the template file does not trigger an update to the 'linked' files. I have even deleted the site and rebuilt it and still nothing. Dreamweaver CS4.

        • 1. Re: Relink a Dreamweaver template
          thuy.copeland Level 2

          Can you post your DW template and a sample page that isn't updating?

          • 3. Re: Relink a Dreamweaver template
            thuy.copeland Level 2

            http://defense.itt.com/careers-mail.htm 'Page cannot be found'

            http://defense.itt.com/Templates/CONTENT  PAGE.dwt 'Page cannot be found'

             

            is it uploaded? Or you can just copy & paste the code into your message.

            • 4. Re: Relink a Dreamweaver template
              Tahl Level 1

              How about:

              http://defense.itt.com/careers-main.htm

               

              DWT contains:

               

              <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
              <html xmlns="http://www.w3.org/1999/xhtml">
              <head>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
              <!-- TemplateBeginEditable name="doctitle" -->
              <title>ITT Defense &amp; Information Solutions</title>
              <!-- TemplateEndEditable -->
              <link href="../css/ITT_DefenseV3_styles.css" rel="stylesheet" type="text/css" />
              <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
              <script type="text/javascript">
              <!--
              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_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_findObj(n, d) { //v4.01
                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 && d.getElementById) x=d.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>
              <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
              <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
              <!-- TemplateBeginEditable name="head" -->
              <!-- TemplateEndEditable -->
              </head>

               

              <body class="inline">
              <div id="container">
                <div>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td align="left"><a href="http://www.itt.com/"><img src="../images/ITT_logo.gif" width="112" height="81" border="0" /></a></td>
                      <td align="right" valign="bottom"><img src="../images/title_D-IS.gif" width="330" height="33" /></td>
                    </tr>
                  </table>
                </div>
                <div>
                  <table width="800" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><a href="../index.htm"><img src="../images/nav01.gif" name="Image1" width="125" height="30" border="0" id="Image1" onmouseover="MM_swapImage('Image1','','../images/nav01R.gif',1)" onmouseout="MM_swapImgRestore()" /></a></td>
                      <td><a href="../profile.htm"><img src="../images/nav02.gif" name="Image2" width="119" height="30" border="0" id="Image2" onmouseover="MM_swapImage('Image2','','../images/nav02R.gif',1)" onmouseout="MM_swapImgRestore()" /></a></td>
                      <td width="183"><ul id="MenuBar1" class="MenuBarHorizontal">
                        <li><a class="MenuBarItemSubmenu" href="#"><img src="../images/nav03.gif" name="Image3" width="183" height="30" border="0" id="Image3" onmouseover="MM_swapImage('Image3','','../images/nav03R.gif',1)" onmouseout="MM_swapImgRestore()" /></a>
                          <ul>
                            <li><a class="MenuBarItemSubmenu" href="../MKT_ES.htm">Electronic Systems</a>
                                <ul>
                                <li><a href="../MKT_ES01.htm" class="SubSubMenu1">Communications Systems</a></li>
                                <li><a href="../MKT_ES02.htm" class="SubSubMenu2">Force Protection</a></li>
                                <li><a href="../MKT_ES03.htm" class="SubSubMenu2">Integrated Electronic Warfare</a></li>
                                <li><a href="../MKT_ES04.htm" class="SubSubMenu2">Integrated Structures</a></li>
                                <li><a href="../MKT_ES05.htm" class="SubSubMenu2">Radar, Reconnaissance &amp; Acoustic Systems</a></li>
                              </ul>
                            </li>
                            <li><a class="MenuBarItemSubmenu2" href="../MKT_GS.htm">Geospatial Systems</a>
                                <ul>
                                <li><a href="../MKT_GS01.htm" class="SubSubMenu1">Night Vision &amp; Imaging</a></li>
                                <li><a href="../MKT_GS02.htm" class="SubSubMenu2">Intelligence, Surveillance and Reconnaissance Systems</a></li>
                                <li><a href="../MKT_GS03.htm" class="SubSubMenu2">Positioning, Navigation &amp; Timing</a></li>
                              </ul>
                            </li>
                            <li><a class="MenuBarItemSubmenu2" href="../MKT_IS.htm">Information Systems</a>
                                <ul>
                                <li><a href="../MKT_IS01.htm" class="SubSubMenu1">Advanced Information Systems</a></li>
                                <li><a href="../MKT_IS02.htm" class="SubSubMenu2">Air Traffic Management</a></li>
                                <li><a href="../MKT_IS03.htm" class="SubSubMenu2">Comprehensive Analytical Systems</a></li>
                                <li><a href="../MKT_IS04.htm" class="SubSubMenu2">Network Systems</a></li>
                                <li><a href="../MKT_IS05.htm" class="SubSubMenu2">Systems Support</a></li>
                              </ul>
                            </li>
                          </ul>
                        </li>
                      </ul></td>
                      <td><a href="../news_main.htm"><img src="../images/nav04.gif" name="Image5" width="114" height="30" border="0" id="Image5" onmouseover="MM_swapImage('Image5','','../images/nav04R.gif',1)" onmouseout="MM_swapImgRestore()" /></a></td>
                      <td><a href="../careers-main.htm"><img src="../images/nav05.gif" name="Image6" width="133" height="30" border="0" id="Image6" onmouseover="MM_swapImage('Image6','','../images/nav05R.gif',1)" onmouseout="MM_swapImgRestore()" /></a></td>
                      <td><a href="../contacts.htm"><img src="../images/nav06.gif" name="Image7" width="146" height="30" border="0" id="Image7" onmouseover="MM_swapImage('Image7','','../images/nav06R.gif',1)" onmouseout="MM_swapImgRestore()" /></a></td>
                    </tr>
                    <tr> </tr>
                  </table>
                </div>
                <div class="search_area_narrow"><form action="http://www.google.com/cse" id="cse-search-box">
                <div>
                  <input type="hidden" name="cx" value="011641084223197529249:ybikezexgag" />
                  <input type="hidden" name="ie" value="UTF-8" />
                  <input type="text" name="q" class="search_box" />
                  <input type="submit" name="sa" class="search_button" value="Search" />
                </div>
              </form>

               

              <script type="text/javascript" src="http://www.google.com/jsapi"></script>
              <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
              <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script></div>
                <div class="CNT_header"><!-- TemplateBeginEditable name="Header Elements" -->
                  <table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><img src="../images/tc_servedmarkets.gif" width="387" height="72" /></td>
                      <td><img src="../images/AES_h2.jpg" width="433" height="72" /></td>
                    </tr>
                  </table>
                <!-- TemplateEndEditable --></div>
                <div id="cnt_container">
              <!-- TemplateBeginEditable name="Content Area" -->
              <div id="RightColumn"><br />
              </div>
              <div id="LeftColumn"></div>
              <!-- TemplateEndEditable --><br class="clearfloat" />
                </div>
                <div id="footer">
                  <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="left" valign="bottom"><table border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td><a href="../index.htm" class="discl">Home</a></td>
                          <td><img src="../images/Footer_separator.gif" width="17" height="10" /></td>
                          <td><a href="../profile.htm" class="discl">Profile</a></td>
                          <td><img src="../images/Footer_separator.gif" width="17" height="10" /></td>
                          <td><a href="../markets_main.htm" class="discl">Served Markets</a></td>
                          <td><img src="../images/Footer_separator.gif" width="17" height="10" /></td>
                          <td><a href="../news_main.htm" class="discl">News</a></td>
                          <td><img src="../images/Footer_separator.gif" width="17" height="10" /></td>
                          <td><a href="../careers-main.htm" target="_blank" class="discl">Careers</a></td>
                          <td><img src="../images/Footer_separator.gif" width="17" height="10" /></td>
                          <td><a href="../contacts.htm" class="discl">Contacts</a></td>
                        </tr>
                      </table></td>
                      <td align="right" valign="bottom"><span class="disclaimer">For questions or comments contact: <a href="mailto:webmaster@itt.com" class="discl">webmaster@itt.com</a><br />
                        <a href="http://www.itt.com/legal-information/" target="_blank" class="discl">Legal Information</a> and <a href="http://www.itt.com/privacy-policy/" target="_blank" class="discl">Privacy Policy</a> &copy;2009 ITT Corporation</span></td>
                    </tr>
                  </table>
                </div>
              </div>
              <script type="text/javascript">
              <!--
              var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
              //-->
              </script>
              </body>
              </html>

              • 5. Re: Relink a Dreamweaver template
                thuy.copeland Level 2

                Strange. The careers-main.htm page updated for me. Can you try this?

                 

                Make the changes to your template, save it, close it.

                Modify > Templates > Update pages... and hit ok.

                 

                This should force the changes to write to the pages linked to your template.

                1 person found this helpful
                • 6. Re: Relink a Dreamweaver template
                  Tahl Level 1

                  Got it to work fine on one machine but not another. Thanks for your help!