HighDots Forums  

Templates Inserting the Date randomly

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Templates Inserting the Date randomly in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rhyjack
 
Posts: n/a

Default 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?


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.