• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Insert Date command not working

Community Beginner ,
Nov 05, 2018 Nov 05, 2018

Copy link to clipboard

Copied

Hi All,

I am using the insert date command across numerous pages in Dreamweaver CS6 but on some page it fails to save correctly.

The correct code looks like this -

<p align="center" class="One">This page last updated on<br><!-- #BeginDate format:Am1 -->November 5, 2018<!-- #EndDate --></p>

But when I clickl save it rewrites it to look like this -

<p align="center" class="One">This page last updated on<b<!-- #BeginDate format:Am1 -->November 5, 2018<!-- #EndDate -->-></p>

I manually amend the code, save again and it becomes this -

<p align="center" class="One">This page last updated on<<!-- #BeginDate format:Am1 -->November 5, 2018<!-- #EndDate -->-></p>

Can anyone advise what is corrupting the Insert Date code in Dreamweaver and how I can fix this please.

Many thanks,

Adrian

Views

372

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 05, 2018 Nov 05, 2018

I'm guessing you have unclosed tags higher up in the document that DW is attempting to resolve.  Validate code and fix all reported errors.

The W3C Markup Validation Service

Votes

Translate

Translate
Community Expert ,
Nov 05, 2018 Nov 05, 2018

Copy link to clipboard

Copied

I'm guessing you have unclosed tags higher up in the document that DW is attempting to resolve.  Validate code and fix all reported errors.

The W3C Markup Validation Service

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 05, 2018 Nov 05, 2018

Copy link to clipboard

Copied

LATEST

Perfect, thank you.

I had a duplicate ID tag on a SPAN that I hadn't noticed.

Many thanks for such a swift response. Very much appreciated.

Adrian

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines