Skip navigation
JoeBuehrer
Currently Being Moderated

Want to make edits to Multiple pages in Dreamweaver

Jan 8, 2013 4:02 PM

Tags: #changes #template #dreamweaver #pages #to #multiple

I have a site online (http://joebuehrerart.zxq.net) and I want to add more links to the navigation bar at the top.  I don't want to have to open each page in dreamweaver and make the same edit over and over so is there a way I can make a change to one page apply it to all the other pages?  I've been reading about setting up a template page that I can edit and all edits to that will apply to pages that it's linked to but I'm not sure exactly how to accomplish this.  

 
Replies
  • Currently Being Moderated
    Jan 8, 2013 4:14 PM   in reply to JoeBuehrer

    Templates are OK for smaller sites. 

    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp#1

     

    However, once you exceed say 25 pages, IMO templates are much too clumsy to maintain a site with.  You must edit the template.dwt file & save it.  Populate changes to all your child pages and then upload each child page to server.   Even on small sites, this takes a good deal of time.

     

    I much prefer Server-side Includes (SSIs). This way, you only need to edit one file and upload it.  All the magic happens on the server.

    http://www.smartwebby.com/web_site_design/server_side_includes.asp

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 8, 2013 5:04 PM   in reply to JoeBuehrer

    I second Nancy's suggestion(s) with a view to SSI being much easier to upkeep.

     

    To answer your initial question, if the navigation is consistent across all pages, you can use a sitewide find/replace. This would require the site to be correctly defined in Dreamweaver.

    Eg:

    <ul>

    <li><a href="">Nav 1</a></li>

    <li><a href="">Nav 2</a></li>

    <li><a href="">Nav 3</a></li>

    </ul>

     

    To add a fourth nav item,

    Find:

    <li><a href="">Nav 3</a></li>

    </ul>

    Replace with:

    <li><a href="">Nav 3</a></li>

    <li><a href="">Nav 4</a></li>

    </ul>

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points