i am building a site and have a menu button but say i want to add in a few more links or update links but not the body text.. is there away to do it so that all 50-100 pages update automatically ? please help.. its crazy to copy and paste all new buttons and link on each page to update...

Dani AI

Generated

For a site with 50–100 pages the long‑term fix is to centralize the menu so one edit updates every page. Dreamweaver templates (.dwt) are designed for this: keep the navigation in the template and leave only the page body as editable. Create the template, attach it to your existing pages, then edit the template to propagate changes automatically. Adobe documents the workflow and caveats here: .

If server‑side includes are an option, storing the menu in a single include file and pulling it into each page is another robust approach. Common methods are Apache SSI or language includes (PHP, ASP). These require server support and usually testing on a local/dev server before going live; see the PHP include reference for details: PHP include. For static‑only hosts, a small JavaScript fetch for the menu can work but depends on client JS.

Practical tips: watch relative vs absolute paths when including a file from pages in subfolders; keep a backup or use version control before any mass find/replace; use DW library items or templates rather than repeated manual edits. ’s find/replace idea is fine for one‑offs, and / pointed in the right direction—templates or includes are the more maintainable choice for the scale described.

Recommended Answers

All 4 Replies

You can use find and replace

Even better, <div> your menu in the template and link to a seperate HTML. When editing, you'll only have to do it once

Even better, <div> your menu in the template and link to a seperate HTML. When editing, you'll only have to do it once

Interesting idea...how do you use a div to link to another html file?

You should use actual dreamweaver templates with editable regions. The body text of the pages would go in the editable region and when you update the template that has been applied to normal pages, it will update all of the links. Its fast and easy.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.