Skip to main content
Participant
March 30, 2018
Answered

Dreamweaver CC: duplicate htmls including template

  • March 30, 2018
  • 1 reply
  • 573 views

I would like to make another version of my webpages that use a template.

How do I do this.  When I copy and paste my htmls and .dwt, the old .dwt still has control over my new htmls.

When I detach the template from my htmls, and try to attach the new template, when making changes to the new template, it only updates the htmls that are open, not giving me the prompt to update all htmls.

Thank you.

This post moved from Adobe Experience Cloud to Dreamweaver support forum. [Mod]

This topic has been closed for replies.
Correct answer Nancy OShea

Keep new projects separate from old ones.  Start over with a new site and new template.   Go to Site > New Site >  and name it myNewSite or similar.

Go to File > New > Starter Templates.  Choose one and hit Create button.

Go to File > Save >  basic.html 

When you get your basic.html page set-up exactly as you want, the code works in all browsers and validates free of any errors, then you can SaveAs Template.dwt.

Nancy

1 reply

BenPleysier
Community Expert
Community Expert
March 30, 2018

Can you show us the code of the head section of the template (.dwt) of the new site.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
PNSharpeAuthor
Participant
March 30, 2018

The following is the .dwt after I duplicated it.

Note that it is in the same site. I wish to create a work-in-process for the html in a separate folder for testing, later to make it the production folder.

But the old .dwt is somehow still attached to the htmls in the work-in-process folder, and the new .dwt only updates those htmls that are open.

Thank you for your help.
















#Home {background-color:var(--aHover-bg-color);}
#nav-About {}
#nav-Services{}




Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
March 30, 2018

Keep new projects separate from old ones.  Start over with a new site and new template.   Go to Site > New Site >  and name it myNewSite or similar.

Go to File > New > Starter Templates.  Choose one and hit Create button.

Go to File > Save >  basic.html 

When you get your basic.html page set-up exactly as you want, the code works in all browsers and validates free of any errors, then you can SaveAs Template.dwt.

Nancy

Nancy O'Shea— Product User & Community Expert