Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 10 of 10
  1. #1
    Member John Mc Grath's Avatar
    Join Date
    Sep 2011
    Location
    Ireland
    Posts
    80
    Member #
    29172
    Liked
    3 times
    Just wondering if anyone knew a method of making changes to multiple pages in dreamweaver at once. I know that if you make changes to a div tag it effects all pages using that div tag, but is there anyway, for example, to change a list item in a navigation bar contained on every page at once. I am only working on the index page at the moment but expect to have over 50 pages when finished. If I create all the pages from a template or something would it work. I don't really want to have to go through every page and make the changes individually later on down the line. Any help would be appricated.
    Im pretty new to web design but I am learning fast. I will help if I can.
    Check out my sites http://www.mediareviewzone.com http://www.iamrobsmith.com

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Yes - you make your page and indicate which areas will be editable (where the content will change) and which will not (usually the Navigation and the footer, sometimes a sidebar as well) and then save it as a template.
    Open it again, edit the content area, and save it as index.html (or index.php if you are using it).
    Open the template again and change the content, for example information about the site's owner or whatever, and save it as about.html (or .php)
    So, every time you want to make a new page with the same navigation and footer, use the template and name it appropriately when you save it.

    That said, I don't use DW myself (except on rare occasions when I have to find something in a lot of code) - I use Notepad++ and for the universal stuff (navigation, footer, etc.) I use PHP includes.
    John Mc Grath likes this.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    Senior Member Alanna Baxter's Avatar
    Join Date
    Aug 2011
    Location
    Ireland
    Posts
    188
    Member #
    29061
    Liked
    18 times
    I'd usually be the one asking the questions here but it's nice to know that I can actually help as well. I also use Dreamweaver and have created template pages first with navigation bars, headers and footers. My navigational bars are not in an editable region but I've still been able to add/change them when necessary and all changes will appear on every page. The editable regions would be the text portions of the page.

    Hope this helps.
    John Mc Grath likes this.

  5. #4
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    if you're working in a template ( which I did away with a long time ago, because it bloats the code ), just make sure like AM said, to put anything that you're going to change in a "editable content" tag... save the file as a template...

    FYI... you can't do a find/replace on a document created from a template BUT... you can do a find/replace on all files using Notepad++, a free editor that ignores DW template tags...

  6. #5
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Yeah, I don't use DW either, but had to when I was in school. I always used to use HTML Kit or Notepad++ when I had to edit templates, but I find the PHP includes are so much easier and cleaner to use. I did a one-page site once which was showcasing 280 products - I did the header and the footer as includes, and had a sidebar include for the menu (javascript dropdown), with a content div include for the images and descriptions, which displayed individually. The code for the index page was only 67 lines long - everything else came in from the includes.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  7. #6
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    That's really the best way to do it, been using asp includes and functions formalmost everything.

    I code 1 page static for the layout, then break down the sections for includes, build out or reuse functions I've already built and tested.

  8. #7
    Member John Mc Grath's Avatar
    Join Date
    Sep 2011
    Location
    Ireland
    Posts
    80
    Member #
    29172
    Liked
    3 times
    Thanks for your help, I tought it had something to do with making a template. I want the header, sidebar, and footer to be the same. So to do this I make a template with with these three and leave the main content blank, save it, and then enter the main content for the other pages? If I ever want to make changes to header or the other two then just edit the template? I am verly new to web design so I will stick to dreamweaver at the moment. I usually design about 50% code and 50% visual. I will look into the other methods when I get a bit more experienced but thanks for your input.
    Im pretty new to web design but I am learning fast. I will help if I can.
    Check out my sites http://www.mediareviewzone.com http://www.iamrobsmith.com

  9. #8
    Member John Mc Grath's Avatar
    Join Date
    Sep 2011
    Location
    Ireland
    Posts
    80
    Member #
    29172
    Liked
    3 times
    I got it working fine. That will make my site so much easier. Thank god for youtube. Thanks for all your help, you made life a lot easier for me now.
    Im pretty new to web design but I am learning fast. I will help if I can.
    Check out my sites http://www.mediareviewzone.com http://www.iamrobsmith.com

  10. #9
    Member John Mc Grath's Avatar
    Join Date
    Sep 2011
    Location
    Ireland
    Posts
    80
    Member #
    29172
    Liked
    3 times
    One more question, does anyone know how to add a flash video to an editable region. It is telling me it needs to be a locked region.
    Im pretty new to web design but I am learning fast. I will help if I can.
    Check out my sites http://www.mediareviewzone.com http://www.iamrobsmith.com

  11. #10
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    Never tried flash objects with templates. But if I remember correctly, you define all the editable content areas in the templates. If not, grab a copy of notepad++ , or just use notepad to embed your code where you want ? I haven't used DW in design mode for a very long time.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:19 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com