7 Replies Latest reply on Jul 5, 2006 4:55 AM by Newsgroup_User

    Template Not Updating Files

    midnighttwink
      I am helping someone with implementing CSS on a website. She created the entire site in Dreamweaver MX using one dreamweaver template. I did a remote get of all the files from her ftp site, including the template file. So now I have the entire directory structure on my local computer as is what is on the server.

      I opened her template file and added a link to the style sheet I created. However when I went to save the template file, dreamweaver didn't ask me if I wanted to update the files that were created previously with this same template. What could be causing the template to not update all of the HTML files associated with it? Is it because they weren't created on my local machine?

      Please help a VERY FRUSTRATED guy :-)
        • 1. Re: Template Not Updating Files
          Level 7
          Here are six ways to make changes not propagate from Template to child -

          1. Rename the Templates folder
          2. Move the Templates folder to some other folder level in the site other
          than root level
          3. Move a template out of the Templates folder.
          4. Make changes to an editable region of the template (which will not
          propagate)
          5. Assume that template changes can be uploaded to the server without also
          uploading the changed local files
          6. Corrupt the site cache so that the link between template and child page
          is broken

          The latter problem can be repaired by using SITE | Advanced > Recreate Site
          Cache, and the five others can be fixed by just not doing them. Have you
          done any of those?


          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "midnighttwink" <webforumsuser@macromedia.com> wrote in message
          news:e8c3nh$hgv$1@forums.macromedia.com...
          >I am helping someone with implementing CSS on a website. She created the
          > entire site in Dreamweaver MX using one dreamweaver template. I did a
          > remote
          > get of all the files from her ftp site, including the template file. So
          > now I
          > have the entire directory structure on my local computer as is what is on
          > the
          > server.
          >
          > I opened her template file and added a link to the style sheet I created.
          > However when I went to save the template file, dreamweaver didn't ask me
          > if I
          > wanted to update the files that were created previously with this same
          > template. What could be causing the template to not update all of the
          > HTML
          > files associated with it? Is it because they weren't created on my local
          > machine?
          >
          > Please help a VERY FRUSTRATED guy :-)
          >


          • 2. Re: Template Not Updating Files
            midnighttwink Level 1
            1. NO
            2. NO
            3. NO
            4. NO
            5. NO
            6. NO

            All I did was downloaded everything from her webserver. Opened the template file and clicked Window > CSS Styles and in the CSS styles pane I clicked the button in the lower left corner to link the style sheet to the template. THAT IS ALL I DID. I double checked and made sure that the box was ticked in the template new file properties to update all files based on the template on save.
            quote:

            Originally posted by: Newsgroup User
            Here are six ways to make changes not propagate from Template to child -

            1. Rename the Templates folder
            2. Move the Templates folder to some other folder level in the site other
            than root level
            3. Move a template out of the Templates folder.
            4. Make changes to an editable region of the template (which will not
            propagate)
            5. Assume that template changes can be uploaded to the server without also
            uploading the changed local files
            6. Corrupt the site cache so that the link between template and child page
            is broken

            The latter problem can be repaired by using SITE | Advanced > Recreate Site
            Cache, and the five others can be fixed by just not doing them. Have you
            done any of those?


            --
            Murray --- ICQ 71997575
            Adobe Community Expert
            (If you *MUST* email me, don't LAUGH when you do so!)
            ==================
            http://www.dreamweavermx-templates.com - Template Triage!
            http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
            http://www.dwfaq.com - DW FAQs, Tutorials & Resources
            http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
            ==================


            "midnighttwink" <webforumsuser@macromedia.com> wrote in message
            news:e8c3nh$hgv$1@forums.macromedia.com...
            >I am helping someone with implementing CSS on a website. She created the
            > entire site in Dreamweaver MX using one dreamweaver template. I did a
            > remote
            > get of all the files from her ftp site, including the template file. So
            > now I
            > have the entire directory structure on my local computer as is what is on
            > the
            > server.
            >
            > I opened her template file and added a link to the style sheet I created.
            > However when I went to save the template file, dreamweaver didn't ask me
            > if I
            > wanted to update the files that were created previously with this same
            > template. What could be causing the template to not update all of the
            > HTML
            > files associated with it? Is it because they weren't created on my local
            > machine?
            >
            > Please help a VERY FRUSTRATED guy :-)
            >





            • 3. Re: Template Not Updating Files
              Level 7
              The procedure you describe should work fine, provided that your link to the
              stylesheet is NOT in the editable region of the head. Show me your template
              page, please.

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.dreamweavermx-templates.com - Template Triage!
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
              ==================


              "midnighttwink" <webforumsuser@macromedia.com> wrote in message
              news:e8cich$4bj$1@forums.macromedia.com...
              > 1. NO
              > 2. NO
              > 3. NO
              > 4. NO
              > 5. NO
              > 6. NO
              >
              > All I did was downloaded everything from her webserver. Opened the
              > template
              > file and clicked Window > CSS Styles and in the CSS styles pane I clicked
              > the
              > button in the lower left corner to link the style sheet to the template.
              > THAT
              > IS ALL I DID. I double checked and made sure that the box was ticked in
              > the
              > template new file properties to update all files based on the template on
              > save.


              • 4. Re: Template Not Updating Files
                midnighttwink Level 1
                Here is the html of my template file

                quote:

                Originally posted by: Newsgroup User
                The procedure you describe should work fine, provided that your link to the
                stylesheet is NOT in the editable region of the head. Show me your template
                page, please.

                --
                Murray --- ICQ 71997575
                Adobe Community Expert
                (If you *MUST* email me, don't LAUGH when you do so!)
                ==================
                http://www.dreamweavermx-templates.com - Template Triage!
                http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                ==================


                "midnighttwink" <webforumsuser@macromedia.com> wrote in message
                news:e8cich$4bj$1@forums.macromedia.com...
                > 1. NO
                > 2. NO
                > 3. NO
                > 4. NO
                > 5. NO
                > 6. NO
                >
                > All I did was downloaded everything from her webserver. Opened the
                > template
                > file and clicked Window > CSS Styles and in the CSS styles pane I clicked
                > the
                > button in the lower left corner to link the style sheet to the template.
                > THAT
                > IS ALL I DID. I double checked and made sure that the box was ticked in
                > the
                > template new file properties to update all files based on the template on
                > save.





                • 5. Re: Template Not Updating Files
                  Level 7
                  Thank you. Is it this link that is not propagating to child pages?

                  <link href="../stylesheets/main.css" rel="stylesheet" type="text/css">

                  If that's correct, then please show me the first 20 lines of markup on one
                  of those child pages.

                  Also, you know that those menus are not template compatible, right?

                  --
                  Murray --- ICQ 71997575
                  Adobe Community Expert
                  (If you *MUST* email me, don't LAUGH when you do so!)
                  ==================
                  http://www.dreamweavermx-templates.com - Template Triage!
                  http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                  http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                  http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                  ==================


                  "midnighttwink" <webforumsuser@macromedia.com> wrote in message
                  news:e8esre$222$1@forums.macromedia.com...
                  > Here is the html of my template file
                  >
                  >
                  quote:

                  Originally posted by: Newsgroup User
                  > The procedure you describe should work fine, provided that your link to
                  > the
                  > stylesheet is NOT in the editable region of the head. Show me your
                  > template
                  > page, please.
                  >
                  > --
                  > Murray --- ICQ 71997575
                  > Adobe Community Expert
                  > (If you *MUST* email me, don't LAUGH when you do so!)
                  > ==================
                  > http://www.dreamweavermx-templates.com - Template Triage!
                  > http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                  > http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                  > http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                  > ==================
                  >
                  >
                  > "midnighttwink" <webforumsuser@macromedia.com> wrote in message
                  > news:e8cich$4bj$1@forums.macromedia.com...
                  > > 1. NO
                  > > 2. NO
                  > > 3. NO
                  > > 4. NO
                  > > 5. NO
                  > > 6. NO
                  > >
                  > > All I did was downloaded everything from her webserver. Opened the
                  > > template
                  > > file and clicked Window > CSS Styles and in the CSS styles pane I
                  > > clicked
                  > > the
                  > > button in the lower left corner to link the style sheet to the template.
                  > > THAT
                  > > IS ALL I DID. I double checked and made sure that the box was ticked in
                  > > the
                  > > template new file properties to update all files based on the template
                  > > on
                  > > save.
                  >
                  >
                  >

                  >
                  >
                  >
                  > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                  > <html>
                  > <head>
                  > <link href="../stylesheets/main.css" rel="stylesheet" type="text/css">
                  > <!-- TemplateBeginEditable name="doctitle" -->
                  > <title>Untitled Document</title>
                  > <!-- TemplateEndEditable -->


                  • 6. Re: Template Not Updating Files
                    midnighttwink Level 1
                    Yes, that is the link that is not propogating. Here are the first 20 lines of the index.html file which was created by her based on this template. And No I wasn't aware that Fireworks menus were not compatible with DW templates.

                    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                    <html>
                    <head>
                    <!-- TemplateBeginEditable name="doctitle" -->
                    <title>Untitled Document</title>
                    <!-- TemplateEndEditable -->
                    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
                    <!-- TemplateBeginEditable name="head" --> <!-- TemplateEndEditable -->
                    <script language="JavaScript">
                    <!--
                    function mmLoadMenus() {
                    if (window.mm_menu_0517194225_0) return;
                    window.mm_menu_0517194225_0 = new Menu("root",120,24,"Arial, Helvetica, sans-serif",18,"#ffffff","#ffff00","#009933","#33cc33","center","middle",3,1,1000,-5,7,tr ue,true,true,0,false,false);
                    mm_menu_0517194225_0.addMenuItem("Facts","window.open(' http://dipetanecanada.com/html/facts_about_dipetane.html', '_self');");
                    mm_menu_0517194225_0.addMenuItem("Uses","window.open(' http://dipetanecanada.com/html/uses_of_dipetane.html', '_self');");
                    mm_menu_0517194225_0.addMenuItem("More Info","window.open(' http://dipetanecanada.com/html/links_to_more_info_on_dipetane.html', '_self');");
                    mm_menu_0517194225_0.addMenuItem("FAQ's","window.open(' http://dipetanecanada.com/html/frequently_ask_questions__faq_.html', '_self');");
                    mm_menu_0517194225_0.hideOnMouseOut=true;
                    mm_menu_0517194225_0.menuBorder=1;
                    mm_menu_0517194225_0.menuLiteBgColor='#006600';
                    • 7. Re: Template Not Updating Files
                      Level 7
                      This is the problem - look at the markup below. You say that this is a child
                      page, yet the markup still uses -

                      <!-- TemplateBegin....

                      which means that the page is NOT a child page, it is a template page. This
                      must mean that you used the wrong procedure to create your child pages -
                      rather than creating them with FILE | New > Templates > Site Name > Template
                      Name > Create, you must have just opened the template, added new content,
                      and then saved the page with an *.html extension. That will never work.

                      Your alternatives now are to recreate each page from this template, using
                      the proper method, and copy and paste your existing page content into the
                      new page, finally saving the new page over the old page. Do this for each
                      page you have created (or someone has created) improperly.

                      --
                      Murray --- ICQ 71997575
                      Adobe Community Expert
                      (If you *MUST* email me, don't LAUGH when you do so!)
                      ==================
                      http://www.dreamweavermx-templates.com - Template Triage!
                      http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                      http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                      http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                      ==================


                      "midnighttwink" <webforumsuser@macromedia.com> wrote in message
                      news:e8f8tv$eku$1@forums.macromedia.com...
                      > Yes, that is the link that is not propogating. Here are the first 20
                      > lines of
                      > the index.html file which was created by her based on this template. And
                      > No I
                      > wasn't aware that Fireworks menus were not compatible with DW templates.
                      >
                      > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                      > <html>
                      > <head>
                      > <!-- TemplateBeginEditable name="doctitle" -->
                      > <title>Untitled Document</title>
                      > <!-- TemplateEndEditable -->
                      > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
                      > <!-- TemplateBeginEditable name="head" --> <!-- TemplateEndEditable -->
                      > <script language="JavaScript">
                      > <!--
                      > function mmLoadMenus() {
                      > if (window.mm_menu_0517194225_0) return;
                      > window.mm_menu_0517194225_0 = new Menu("root",120,24,"Arial, Helvetica,
                      > sans-serif",18,"#ffffff","#ffff00","#009933","#33cc33","center","middle",3,1,100
                      > 0,-5,7,true,true,true,0,false,false);
                      >
                      > mm_menu_0517194225_0.addMenuItem("Facts","window.open(' http://dipetanecanada.com
                      > /html/facts_about_dipetane.html', '_self');");
                      >
                      > mm_menu_0517194225_0.addMenuItem("Uses","window.open(' http://dipetanecanada.com/
                      > html/uses_of_dipetane.html', '_self');");
                      >
                      > mm_menu_0517194225_0.addMenuItem("More Info","window.open(' http://dipetanec
                      > anada.com/html/links_to_more_info_on_dipetane.html', '_self');");
                      >
                      > mm_menu_0517194225_0.addMenuItem("FAQ's","window.open(' http://dipetanecanada.com
                      > /html/frequently_ask_questions__faq_.html', '_self');");
                      > mm_menu_0517194225_0.hideOnMouseOut=true;
                      > mm_menu_0517194225_0.menuBorder=1;
                      > mm_menu_0517194225_0.menuLiteBgColor='#006600';
                      >