Back

How to set the current page in a Dreamweaver template

Do these steps first

  1. Create your template
  2. Add your navigation and its CSS
  3. Set the "current page" (See the Current Page Navigation page if you don't know how to do this.)

Set the "current page" in the Dreamweaver template

  1. Open your template
  2. Select the <body id="home"> tag in the code view
    body with id set to home
  3. Go to MODIFY > TEMPLATES > MAKE ATTRIBUTE EDITABLE
  4. Fill out the dialog box
    editable tag dialog box
  5. Save the template
  6. Close the template

Create a new Web page based on the template

  1. Go to FILE > NEW > NEW FROM TEMPLATE
  2. Select the template you want to use for the new page
    new from template on the new file dialog box
  3. Save the new Web page - leave it open

Set the "current page" status

  1. With the Web page open, go to MODIFY > TEMPLATE PROPERTIES
    modify template properties menu
  2. Change the home to the id name for the current page, contact for example.
    modify template properties dialog box
  3. Checkthat the HTML <body id> code was updated to
    body tag id updated