Forums
This topic is locked
overwriting code
Posted 27 Apr 2004 17:11:28
1
has voted
27 Apr 2004 17:11:28 Roger Sansom posted:
I use a template for my pages which includes, as a footer, a date which I have set up to automatically update on save of all pages which use the template. The code which is automatically generated within the protected part of the template is:<!-- #BeginDate format:Sw1 -->27 April, 2004<!-- #EndDate -->
My problem is that the content within an editable region gets overwritten quite randomly with this same code.
When the page is saved the date gets updated as expected - but some of my code gets destroyed as well - sometimes!
Sounds like a bug somewhere but can't track it down. Any ideas?
I am using Dreamweaver 7.0.1.
Replies
Replied 04 Mar 2007 17:50:34
04 Mar 2007 17:50:34 Kelly Smith replied:
I am having the same problem Roger is having. I'm using Dreamweaver MX 2004 and I'm only writing basic HTML pages. This happened both before and after I installed the 7.0.1 upgrade.
Here is a sample of the code from one of my pages that has been destroyed by this bug. As you can see the text has been obliterated in 3 places by the last updated date code and since I did not have my content backed up anywhere I will have to recreate it from memory. (I hope this displays as plain text in the message. When I previewed it, it appeared as HTML and not plain text.)
<pre id=code><font face=courier size=2 id=code><p>It is NOT my dream home. It was only three
years old, but the pigs... I mean "people" who lived in it did nothing
to f<!-- #BeginDate format:Am1 -->March 3, 2007<!-- #EndDate --> carpeting
had to be replaced before the bank would approve the mortgage, and they
left a special "treat" of dog feces wrapped<!-- #BeginDate format:Am1 -->March 3, 2007<!-- #EndDate -->->a of the kind of people they were.</p>
<p>I have a huge number of pictures and quite a lot of content about my
interior renovations, but they may have to wait <!-- #BeginDate format:Am1 -->March 3, 2007<!-- #EndDate -->ot; schoolwork done. So for now, this page is just</font id=code></pre id=code>
Can anyone help me figure out what is causing this? I'm almost afraid to keep using Dreamweaver now because I don't want all my pages wrecked like this. (I'd have to re-create every one of them and re-upload them.)
Thanks in advance!
Kelly
Here is a sample of the code from one of my pages that has been destroyed by this bug. As you can see the text has been obliterated in 3 places by the last updated date code and since I did not have my content backed up anywhere I will have to recreate it from memory. (I hope this displays as plain text in the message. When I previewed it, it appeared as HTML and not plain text.)
<pre id=code><font face=courier size=2 id=code><p>It is NOT my dream home. It was only three
years old, but the pigs... I mean "people" who lived in it did nothing
to f<!-- #BeginDate format:Am1 -->March 3, 2007<!-- #EndDate --> carpeting
had to be replaced before the bank would approve the mortgage, and they
left a special "treat" of dog feces wrapped<!-- #BeginDate format:Am1 -->March 3, 2007<!-- #EndDate -->->a of the kind of people they were.</p>
<p>I have a huge number of pictures and quite a lot of content about my
interior renovations, but they may have to wait <!-- #BeginDate format:Am1 -->March 3, 2007<!-- #EndDate -->ot; schoolwork done. So for now, this page is just</font id=code></pre id=code>
Can anyone help me figure out what is causing this? I'm almost afraid to keep using Dreamweaver now because I don't want all my pages wrecked like this. (I'd have to re-create every one of them and re-upload them.)
Thanks in advance!
Kelly