beautypg.com

Adobe Extending Dreamweaver CS4 User Manual

Page 23

background image

17

EXTENDING DREAMWEAVER CS4

Customizing Dreamweaver

Note: When the user saves a new document, Dreamweaver examines the list of extensions for the current platform that
are associated with the document type. For example,

winfileextension

and

macfileextension

. Dreamweaver

selects the first string in the list and uses it as the default filename extension. To change this default filename extension,
reorder the extensions in the comma-separated list so the new default is listed first.

When Dreamweaver starts, it reads all document type definition files and builds a list of valid document types.
Dreamweaver treats any entries within the definition files that have nonexistent server models as nonserver model
document types. Dreamweaver ignores entries that have bad contents or IDs that are not unique.

If document type definition files are corrupt or are not available in the Configuration/DocumentTypes folder,
Dreamweaver closes with an error message.

macfileextension

Yes

The filename extension that is associated
with the document type on the Macintosh.
You specify multiple filename extensions by
using a comma-separated list. The first
extension in the list is the extension that
Dreamweaver uses when the user saves a

documenttype

document.

If two nonserver model-associated
document types have the same filename
extension, Dreamweaver recognizes the
first one as the document type for the
extension.

previewfile

No

The file that is rendered in the Preview area
of the New Document dialog box.

file

Yes

The file that is located in the
DocumentTypes/NewDocuments folder
that contains template content for new

documenttype

documents.

priorversionservermodel

No

If the server model of this document has a
Dreamweaver UltraDev 4 equivalent,
specify the name of the older version of the
server model.

UltraDev 4 ColdFusion is a valid prior server
model.

title

(subtag)

Yes

The string that appears as a category item
under Blank Document in the New
Document dialog box. You can place this
string directly in the definition file or point
to it indirectly for localization purposes. For
more information on localizing this string,
see “

Providing localized strings

” on page

20.

Formatting is not allowed, so HTML tags
cannot be specified.

description

(subtag)

No

The string that describes the document
type. You can place this string directly in the
definition file or point to it indirectly for
localization purposes. For more information
on localizing this string, see “

Providing

localized strings

” on page

20.

Formatting is allowed, so HTML tags can be
specified.

Tag

Attribute

Required

Description

This manual is related to the following products: