Thread: Dreamweaver???
View Single Post
Old 03-24-2005, 03:48 PM  
TexasDreams
former Miserable Admin :)
 
Join Date: Oct 2003
Location: Somewhere in Cali
Posts: 4,700
Quote:
Originally Posted by eamedia
When saving a HTML page in dreamweaver it saves the file as filename.htm ....anyone know how to make it save the file as filename.html without clicking save as and manually typing it in? Anyone else have this same problem?
For some reason they made it difficult starting with DreamweaverMX. Search for the file "MMDocumentTypes.xml"

Mine was in C:\Program Files\Macromedia\Dreamweaver MX\Configuration\DocumentTypes\MMDocumentTypes.xml

Open that file in notepad, up at the top you will find this section...

Code:
	<documenttype id="HTML" internaltype="HTML" winfileextension="htm,html,shtml,shtm,stm,lasso,xhtml" macfileextension="html,htm,shtml,shtm,lasso,xhtml" file="Default.html" writebyteordermark="false">
		<TITLE>
			<MMString:loadString id="mmdocumenttypes_0" />
		</TITLE>
		<description>
			<MMString:loadString id="mmdocumenttypes_1" />
		</description>
	</documenttype>
In the winfileextension part change the order of html and htm so it looks like this...

winfileextension="html,htm,shtml,shtm,stm,lasso,xh tml

save the file, restart Dreamweaver, and that should do the trick!

__________________
ICQ: 168-914-369 >>> sysop [at] TexasDreams [dot] com
TexasDreams is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote