PDA

View Full Version : Location Template File


rwullink
11-15-2014, 10:00 AM
I work with Dreamweaver CS6 Windows. My template file is locally in the folder Templates. This is how it's in html files also referred to.
Recently, however, that reference is changed. No more to the local place (template = "/templates/simeon-template.dwt"), but to the location on the server (template = "/wwwroot/templates/simeon-template.dwt").
This is only visible in the html files on which the template is for. I can't change it for it's shown gray.
A result is that I can't save a modified template file. I have searched for a setting where it can be changed, but can't find anything.
What I'm doing wrong?
greeting Roelof

Ricky55
11-16-2014, 08:15 PM
Templates have to be kept in the root folder within a folder called templates. If you move this will break.

not really sure what you're asking.

rwullink
11-17-2014, 08:58 AM
You are right, but I didn't changed the path of the template file. It happened mysteriously.
This path is only visible at the top in the code of a html file. Unlucky this part of the code is in grey, so uneditable. The consequence of the wrong path is that a modified template can not update the html files.

In the meantime however I got the solution on the Adobe forum. Simply apply your template to the html file.

See at:
http://www.dreamweaverclub.com/forum//showthread.php?t=47426&goto=newpost

rwullink
11-17-2014, 09:02 AM
I mean of course:
https://forums.adobe.com/thread/1635135