DreamWeaver: How to create a template(?)

Discussion in 'HTML & Website Design' started by cre8ive, Mar 3, 2008.

  1. #1
    Let's say that I want to create a very basic website that has five pages or so. All pages have the same header, footer and navigation. Obviously, it's very inefficient to create these in all pages page by page. Does DreamWeaver have a feature to create a ... template? What I want to do is to create common components like header, footer and navigation just once. Also if and when I modify them, I want all other pages to be updated automatically. Can this be done using DreamWeaver?
     
    cre8ive, Mar 3, 2008 IP
  2. webblab

    webblab Guest

    Messages:
    394
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Now it seems to me that there is no following function. But you can use php includes for footer and header, such as
    <?php include_once("footer.html") ?>
    Code (markup):
     
    webblab, Mar 4, 2008 IP