3 Replies Latest reply on Aug 9, 2006 1:49 PM by Newsgroup_User

    Applying template to multiple pages

    KamalSingh
      i'm changing the navbar on the company website from some static links to a DHTML dropdown menu (link to external JS file in HEAD section, a href's in the BODY). Aside from the menu and some content in the header/footer, nothing else in the pages will change. I am aware of how to apply a template to a single page, but internet searches have not turned up a way to automate the task or batch process if you want to apply to all the pages in a site. There are over 1800 pages, so applying to all the pages manually would be extremely tedious...

      Is there a way to batch process?

      Thanks.
        • 1. Re: Applying template to multiple pages
          Level 7
          You are using templates on a site that large? <ouch>

          There is no batch method to apply a template to a group of pages. There
          couldn't be, since you would have to specify which content goes into which
          editable region.

          I usually recommend no more than 100 pages for templates. Anyhow, you
          should be using server side includes for that navigation element....

          --
          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
          ==================


          "KamalSingh" <webforumsuser@macromedia.com> wrote in message
          news:ebdfgl$bb9$1@forums.macromedia.com...
          > i'm changing the navbar on the company website from some static links to a
          > DHTML dropdown menu (link to external JS file in HEAD section, a href's in
          > the
          > BODY). Aside from the menu and some content in the header/footer, nothing
          > else
          > in the pages will change. I am aware of how to apply a template to a
          > single
          > page, but internet searches have not turned up a way to automate the task
          > or
          > batch process if you want to apply to all the pages in a site. There are
          > over
          > 1800 pages, so applying to all the pages manually would be extremely
          > tedious...
          >
          > Is there a way to batch process?
          >
          > Thanks.
          >


          • 2. Re: Applying template to multiple pages
            KamalSingh Level 1
            *sigh* Well, the site was created many ages ago by someone who, at the time, didn't know how much about server-side includes. Or templates for that matter. We don't currently have funding (nonprofit org) to do a total redesign that would use more efficient technologies. As the lone web guy here, I've started the quest to at least improve the navigation. Perhaps I can get an intern to share the load of manually updating... By the way, there is only one editable region in the head and one in the body.

            Just for my knowledge, what kind of technologies should be used for a 1000+ page site?

            Incidentally, this is the website: Leader to Leader Institute
            • 3. Re: Applying template to multiple pages
              Level 7
              > Just for my knowledge, what kind of technologies should be used for a
              > 1000+
              > page site?

              Server-side includes, definitely.

              I would just modify the template to replace the menu with a link to a
              server-side include. Then you will have to upload every file again. But
              from that point forward, making any changes to your menu will only involve
              changing and uploading that single file.

              --
              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
              ==================


              "KamalSingh" <webforumsuser@macromedia.com> wrote in message
              news:ebdhhr$dkg$1@forums.macromedia.com...
              > *sigh* Well, the site was created many ages ago by someone who, at the
              > time,
              > didn't know how much about server-side includes. Or templates for that
              > matter.
              > We don't currently have funding (nonprofit org) to do a total redesign
              > that
              > would use more efficient technologies. As the lone web guy here, I've
              > started
              > the quest to at least improve the navigation. Perhaps I can get an intern
              > to
              > share the load of manually updating... By the way, there is only one
              > editable
              > region in the head and one in the body.
              >
              > Just for my knowledge, what kind of technologies should be used for a
              > 1000+
              > page site?
              >
              > Incidentally, this is the website: http://www.leadertoleader.org/
              >