Creating a template using DW8

Posted on 2006-04-22
Last Modified: 2010-04-25
I already created a web-site using dreamweaver 8 and the layout for all the pages are the same.  How do I create a template where if I make a change on one part of the page the changes will also take place in the others?
Question by:rudodoo
    LVL 70

    Accepted Solution

    Hi rudodoo,

    If you have already created the whole site, creating a template is a little bit harder to do.

    You would need to pick one your pages (usually the index page) and Save As Template.  Then define the editable regions and delete the content already on the page so you end up with a blank template page.

    Here's where the process gets obnoxious.  You can try to apply the new template to your existing pages, but I have found that you usually cannot just create a template and apply it to fully laid out pages without problems.  Because the elements on the existing page also are present in the template, you will get some funny effects.  Try it.  If your pages look funny, try the following:

    You now need to open every other existing page and copy the content to the clipboard.  Once you have done that, delete the entire page (get to a blank screen) and NOW apply the template.  After you apply the template, paste the content back in and save the page.

    Alternately, you can edit all of the pages on your site to reduce them down to just the content and then apply the template to all pages at once.  I find this is about the same amount effort as the first suggestion.

    Author Comment

    What if i just create another site folder and then create a template page, and insert the content into all the pages based on the template
    LVL 70

    Expert Comment

    by:Jason C. Levine
    Yeah, that would work too.  You are performing the same basic action no matter which option you choose.  Templates need to be applied to blank pages to work completely as intended by DW.

    I made the same "mistake" too.  I generated thousands of pages before I learned how to use templates.  The back-tracking took me almost a month to get it all under control.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
    I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now