Highlighted

Dreamweaver CC: duplicate htmls including template

New Here ,
Mar 29, 2018

Copy link to clipboard

Copied

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]

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

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

Views

238

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Dreamweaver CC: duplicate htmls including template

New Here ,
Mar 29, 2018

Copy link to clipboard

Copied

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]

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

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

Views

239

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 29, 2018 0
Adobe Community Professional ,
Mar 29, 2018

Copy link to clipboard

Copied

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


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 29, 2018 0
New Here ,
Mar 29, 2018

Copy link to clipboard

Copied

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{}




Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 29, 2018 0
Adobe Community Professional ,
Mar 30, 2018

Copy link to clipboard

Copied

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, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 30, 2018 0
New Here ,
Mar 30, 2018

Copy link to clipboard

Copied

OK, but it seems like there should be a simple process to copy a folder of one site into a new folder, unattach each html from its template and then attach a new template to the htmls.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 30, 2018 0
Adobe Community Professional ,
Mar 30, 2018

Copy link to clipboard

Copied

Use your OS's file manager (Mac Finder or Win File Explorer) to copy site assets over to your new site folder. 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 30, 2018 0