Forum Moderators: phranque

Message Too Old, No Replies

Extract Dreamweaver template from html file

I have accidentally deleted a template but have the files

         

s9901470

5:56 pm on Jun 1, 2005 (gmt 0)

10+ Year Member



Hi there

Can anyone suggest a way to extract a Dreamweaver template .dwt file automatically from a .html file which is using it? I have deleted the .dwt file by mistake but still have all the html files. I could cut and paste all the coding but wondered if there is a quicker way.

Any suggestions welcome.

Thank you in advance

sonjay

9:22 pm on Jun 1, 2005 (gmt 0)

10+ Year Member



I would open one of the html files, use the menu command to "remove all template markup," create my editable regions with the same names as old ones, and then save it as a template (once you create even one editable region DW will automatically save it as a template) with the same name as the old template.

You can see the name of the previous template and the names of the editable regions by looking at the code of any of the html pages.

nancyb

9:27 pm on Jun 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



just blank out all the editable regions from one of the html files, then save that as the dwt file in the templates folder. If you use the same dwt filename as shown in the html file, then you can create new html files and/or change existing files by changing the new dwt file.