Copy link to clipboard
Copied
Hi,
A long time ago I made a site and a template. Now I want to make a change on a few pages but they are locked by the template. I can not figure out (or forgot) how to edit the template - so I made a copy of the template which I could edit and renamed it back to the original name. Now I want to make template changes occur on all the child pages - how??
Yours
Erikrn
Denmark
[Edited by moderator for clarity.]
Copy link to clipboard
Copied
I advise you to avoid cloning templates... (make backups if necessary).
So directly, edit the template. That is the file that is in the TEMPLATES folder (located at the root of the site) and which has the extension .dwt
so once you edit the template, all the child page should automaticaly update. you should also have a dilog box informing you about the process.
from the assets panel (windows > Assets), you have on the left side different icons, one is a template access (second one from the bottom), and now from the top right of the panel, you'll get a dropdown menu allowing you different process, as apply the template or recreate the list of template... (helpfull sometimes)
when you select and open a child template, you'll get from the menu tools > template, the possibility to detach the child from the master template
Copy link to clipboard
Copied
a long time ago I made a site and a template
=========
Hi @e rn7284933,
I ask because it might be more prudent to start over fresh with a modern responsive layout that works on ALL devices instead of trying to resurrect an old one from the past.
I'm not a huge fan of Dreamweaver templates because I think they cause more problems than they solve. Server-side includes are better for managing sitewide elements like common headers, footers and navigation. See link below for details.
https://alt-web.blogspot.com/2015/07/server-side-includes-with-php.html
Copy link to clipboard
Copied
I 'm a beginner
so I opned the template with Notepad ++
with it I was able to reedit all I vanted
erikrn
denmark
Copy link to clipboard
Copied
Unfortunately, DW Templates don't work in other code editors because they are proprietary to DW.
Copy link to clipboard
Copied
yes, but as Nancy said, you will loose all the internal mecanism handled by Dreamweaver.
those templates and the way they work belong to Dreaweaver. you can't work them outside of Dreamweaver
the only way to do it, is to declare (from prefs setting) a specific code editor for dwt files and launch this editor from in within Dreamweaver. but for sure... I do this type of thing everyday (I use Sublime Text).... but I never done it for editing Libray item nor Template