8 Replies Latest reply on Jan 19, 2009 2:41 PM by Newsgroup_User

    Corrupted Template?

    glennergy
      I seem to have corrupted a template somehow. On our website of around 1000 pages, when I try to update a particular single section using the template that created that section, every time I do so, it tries to update the entire site, not only that particular section.

      This is very time-consuming and frustrating. Does anyone have an idea what might have happened to this template? The same issue does not happen with other templates on the site.

      Thank you.
        • 1. Re: Corrupted Template?
          Level 7
          > On our website of around 1000
          > pages,

          I would never use templates on a site that large - it's just operationally
          cumbersome.

          > when I try to update a particular single section using the template that
          > created that section, every time I do so, it tries to update the entire
          > site,

          What does this mean? Do you mean that DW scans through the entire site to
          find pages to update?

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          ==================


          "glennergy" <webforumsuser@macromedia.com> wrote in message
          news:gl0up9$opo$1@forums.macromedia.com...
          >I seem to have corrupted a template somehow. On our website of around 1000
          > pages, when I try to update a particular single section using the template
          > that
          > created that section, every time I do so, it tries to update the entire
          > site,
          > not only that particular section.
          >
          > This is very time-consuming and frustrating. Does anyone have an idea
          > what
          > might have happened to this template? The same issue does not happen with
          > other templates on the site.
          >
          > Thank you.
          >

          • 2. Re: Corrupted Template?
            Level 7

            "Murray *ACE*" wrote:
            >
            > I would never use templates on a site that large - it's just operationally
            > cumbersome.

            Murray... how would you do it then? Would think that templates would be the
            best way to manage large sites...???

            Cheers...

            JJ


            • 3. Re: Corrupted Template?
              Level 7
              The very best way to manage sites in general (in my opinion) would be with a
              combination of Templates and server-side includes, but it would be possible
              to do with server-side includes only, and in fact many people do so. This
              is especially true for sites with more than 50-100 pages.

              My method is as follows -

              1. Stuff that will not change for the life of the site (i.e., the basic
              structural elements)
              2. Stuff that *could* change from time to time (e.g., navigation elements,
              burst advertisements, section-specific navigation, etc.)
              3. Stuff that *will* change from one page to the next

              Then I create a template containing all class1 elements. Next I create
              server-side include files containing all class 2 elements and place them on
              the template as needed. Note - some of the class 2 elements may be
              "section-specific elements", and their placement on the template will be
              subject to the next item. Finally, I insert editable regions to cover the
              class 3 items, INCLUDING the section-specific navigation.

              This allows me to just cookie-cut the rest of the site. I estimate that
              even for fairly large sites, about 80% of my work goes into planning and
              creating this template file.

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              ==================


              "Jay Jay" <jhabrix@yahoo.com> wrote in message
              news:gl29dh$ebr$1@forums.macromedia.com...
              >
              > "Murray *ACE*" wrote:
              >>
              >> I would never use templates on a site that large - it's just
              >> operationally cumbersome.
              >
              > Murray... how would you do it then? Would think that templates would be
              > the best way to manage large sites...???
              >
              > Cheers...
              >
              > JJ
              >

              • 4. Re: Corrupted Template?
                Level 7
                On 19 Jan 2009 in macromedia.dreamweaver, Jay Jay wrote:

                >> I would never use templates on a site that large - it's just
                >> operationally cumbersome.
                >
                > Murray... how would you do it then? Would think that templates would
                > be the best way to manage large sites...???

                Serverside includes of some sort (or of varied sorts...)[1] With pure
                templates, when you want to make a change to a group of files (or the
                whole site), you have to change and upload N files, where N is the
                number of files in the site. With includes, you have to make changes
                to and upload only one file.

                Another technique to consider is pages driven off of a database. So,
                in a catalog site, where the frame of the page about any product will
                be essentially the same, and various elements - picture, description,
                price - will change, you can build a single page with the common
                elements, and use that page to select data from the database.

                [1] An include is an include is an include, but some could affect every
                page on the site, while others may, for example, contain a submenu for
                a specific section of the site.

                --
                Joe Makowiec
                http://makowiec.net/
                Email: http://makowiec.net/contact.php
                • 5. Re: Corrupted Template?
                  Level 7

                  "Jay Jay" wrote:
                  >
                  > "Murray *ACE*" wrote:
                  >>
                  >> I would never use templates on a site that large - it's just
                  >> operationally cumbersome.
                  >
                  > Murray... how would you do it then? Would think that templates would be
                  > the best way to manage large sites...???

                  Murray / Joe...

                  Okay that explains it...but you're still using templates :) It was that
                  earlier statement of yours that had me foxed Murray.

                  As an aside, and in a strange kind of way, wouldn't you also consider SSIs
                  to be templates? Kind of offline templates???

                  JJ



                  • 6. Re: Corrupted Template?
                    Level 7
                    > As an aside, and in a strange kind of way, wouldn't you also consider SSIs
                    > to be templates? Kind of offline templates???

                    No. But it's just a semantic issue, really.

                    > but you're still using templates :)

                    I am, but others do not. I like them because they protect me from the
                    stupid mistakes that ... um ... my alter ego makes from time to time (adding
                    new content to an existing page, and then using FILE | Save instead of FILE
                    | Save As...).

                    --
                    Murray --- ICQ 71997575
                    Adobe Community Expert
                    (If you *MUST* email me, don't LAUGH when you do so!)
                    ==================
                    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                    ==================


                    "Jay Jay" <jhabrix@yahoo.com> wrote in message
                    news:gl2dan$irk$1@forums.macromedia.com...
                    >
                    > "Jay Jay" wrote:
                    >>
                    >> "Murray *ACE*" wrote:
                    >>>
                    >>> I would never use templates on a site that large - it's just
                    >>> operationally cumbersome.
                    >>
                    >> Murray... how would you do it then? Would think that templates would be
                    >> the best way to manage large sites...???
                    >
                    > Murray / Joe...
                    >
                    > Okay that explains it...but you're still using templates :) It was that
                    > earlier statement of yours that had me foxed Murray.
                    >
                    > As an aside, and in a strange kind of way, wouldn't you also consider SSIs
                    > to be templates? Kind of offline templates???
                    >
                    > JJ
                    >
                    >
                    >

                    • 7. Re: Corrupted Template?
                      glennergy Level 1
                      Murray, you asked: What does this mean? Do you mean that DW scans through the entire site to find pages to update?


                      To respond to that question, yes.-- it scans through the entire site and even says it has "updated" more pages than it should have. When I check the pages that are not connected to it, I don't see that anything has been changed on those pages.
                      • 8. Re: Corrupted Template?
                        Level 7
                        > To respond to that question, yes.-- it scans through the entire site and
                        > even
                        > says it has "updated" more pages than it should have.

                        Try recreating the site cache - SITE | Advanced > Recreate Site Cache and
                        see what happens....

                        --
                        Murray --- ICQ 71997575
                        Adobe Community Expert
                        (If you *MUST* email me, don't LAUGH when you do so!)
                        ==================
                        http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                        http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                        ==================


                        "glennergy" <webforumsuser@macromedia.com> wrote in message
                        news:gl2ui1$9eo$1@forums.macromedia.com...
                        > Murray, you asked: What does this mean? Do you mean that DW scans through
                        > the
                        > entire site to find pages to update?
                        >
                        >
                        > To respond to that question, yes.-- it scans through the entire site and
                        > even
                        > says it has "updated" more pages than it should have. When I check the
                        > pages
                        > that are not connected to it, I don't see that anything has been changed
                        > on
                        > those pages.
                        >