Templates Inserting the Date randomly -
06-22-2004
, 04:25 PM
I'm using Dreamweaver MX 2004 (7.0.1). I'm having a problem with a template
where there is an editable region in the template that contains the date (which
gets updated on each save). I successfully made a site based on this template.
However, as I started making a few changes to the template, and then updated
the pages that used the template, I noticed that Dreamweaver was inserting the
date field/code into random spots in my pages, and overwriting my content:
<!-- #BeginDate format:Am1 -->June 22, 2004<!-- #EndDate -->
If I just change the individual pages based on the template, everything is OK,
it's only when I change the template and update the pages that this occurs.
Looking into Dreamweaver's own help screens, I noticed that it said not to
include any other tags in the editable region, but I don't think I have done
that. Here's what my template region looked like:
<!-- TemplateBeginEditable name="date" -->Date Modified:
<!-- #BeginDate format:Am1 -->June 22, 2004<!-- #EndDate -->
<!-- TemplateEndEditable -->
The template was created originally in a prior version of Dreamweaver. Has
anyone ever had this happen before? How can I make it stop? Should I be
including a date field that gets updated on save in my template at all? |