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

DW CC v13.1 build 6443: modify new document template

LEGEND ,
Sep 06, 2018 Sep 06, 2018

Hello, all,

When you use CTRL-N or click FILE > NEW to create a new document, a document is opened and it contains the basic HTML start (doctype, head tags, body tags, etc.)

I'd like to customize this, a little bit.  What file do I need to edit?

V/r,

^ _ ^

390
Translate
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 , Sep 06, 2018 Sep 06, 2018

For Windows, it's at C: > Program Files > Adobe > Dreamweaver (version) > configuration > Document Types > NewDocuments > Default.html

Not 100% on the location for Macs, but it's not in the "personal Configuration folder" it's in the program's "little c" configuration folder. Something along the lines of Macintosh HD > Applications > Adobe > Dreamweaver (version) > configuration > Document Types > NewDocuments > Default.html

When I change it, I save it to the desktop, then copy it back to the loca

...
Translate
Community Expert ,
Sep 06, 2018 Sep 06, 2018

For Windows, it's at C: > Program Files > Adobe > Dreamweaver (version) > configuration > Document Types > NewDocuments > Default.html

Not 100% on the location for Macs, but it's not in the "personal Configuration folder" it's in the program's "little c" configuration folder. Something along the lines of Macintosh HD > Applications > Adobe > Dreamweaver (version) > configuration > Document Types > NewDocuments > Default.html

When I change it, I save it to the desktop, then copy it back to the location using my system admin rights.

Translate
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 Expert ,
Sep 06, 2018 Sep 06, 2018

It's in a similar place on Macs. Applications --> Adobe Dreamweaver {version} --> configuration --> Document Types --> New Documents --> Default.html

Translate
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
LEGEND ,
Sep 06, 2018 Sep 06, 2018

Mine was actually in C: > Program Files (x86) > Adobe > Dreamweaver CC > configuration > Document Types > NewDocuments > Default.html

Thank you!

V/r,

^ _ ^

Translate
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
LEGEND ,
Sep 06, 2018 Sep 06, 2018

OPS.. I typed too soon.  That is the location for a HTML4.01 document.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> is the first line.

I can't find the one for <!DOCTYPE html>.  (gasp)

V/r,

^ _ ^

Translate
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 Expert ,
Sep 06, 2018 Sep 06, 2018

Nope, that is the right one, DW switches the doctype depending on what you have selected in the prefs.

Translate
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
LEGEND ,
Sep 06, 2018 Sep 06, 2018

Oh.  I'll give it a shot, then, and see.  Thank you.

V/r,

^ _ ^

Translate
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
LEGEND ,
Sep 06, 2018 Sep 06, 2018
LATEST

YUP!  That did it.    Thanks.

V/r,

^ _ ^

Translate
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