Forum Moderators: open
I am having a very weird problem with templates in dreamweaver.
I have a template that is controlling about 50 pages on my site that is behaving oddly.
Every time I update the template and so update the pages that rely on it, certain elements on the reliant pages duplicate themselves.
So, for example, I get 2 nav bars, one under the other. When I update again, I end up with 3 - adding one more each time.
Has anyone seen anything like this before, and can anyone help?
Many thanks
Cy
After you've applied a template you should be able to do Modify > Templates > Update Pages intead of applying the template again.
Hope this helps.
LisaB
<!-- #BeginEditable "CatLinks" --> <a href="http://www.URL.com" title="TITLE" class="CLASS">WORDS</a> <span class="CLASS">> <a href="#" class="CLASS">WORDS</a> > </span><span class="CLASS">WORDS</span><!-- #EndEditable -->
I upgraded to DW 6.1 on the advice of some in this forum to try and resolve template issues. I can't say whether it helped or not, but I have noticed that the first time I edit the code in the code view of a page, when I click back to the design view it says "You have changed content that is outside of an editable region. When you next save the template, these changes will be overwritten" or something to that effect. It means nothing; I simply click to apply the changes anyway, and nothing comes of it. But it's bl**dy annoying, I can tell you. Nobody has had any insights into how to fix this. So if anyone recommends upgrading to 6.1, be aware that I've had those issues.
There are 2 types of editable tags in the template:
<!-- #BeginEditable "Body" -->
and
<!-- TemplateBeginEditable name="EditArea" -->
Can't tell yet whether this causing the problems, but thought I would flag it in case anyone spotted a problem. I can't tell from the Dreamweaver help what the difference in the tags means.
Cy