This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > Changing default from htm to html





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Changing default from htm to html
greathja

2005-09-01, 7:29 pm

How can you easily change the default setting to save new documents as .html?

besides this way.
The file you want to change should be at:

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

If you open that file in notepad you should see a line similar to this
near the top:

<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">

In order to change the default extension from .htm to .html modify the
part that says:

winfileextension="htm,html,shtml,shtm,stm,lasso,xhtml"

to read:

winfileextension="html,htm,shtml,shtm,stm,lasso,xhtml"

(make .html first)

Then save the file and restart Dreamweaver and check the preferences
page to see the result.

Murray *TMM*

2005-09-01, 7:30 pm

That's the way to do it.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"greathja" <webforumsuser@macromedia.com> wrote in message
news:df7f5g$j67$1@forums.macromedia.com...
> How can you easily change the default setting to save new documents as
> .html?
>
> besides this way.
> The file you want to change should be at:
>
> C:\Program Files\Macromedia\Dreamweaver
> MX\Configuration\DocumentTypes\MMDocumentTypes.xml
>
> If you open that file in notepad you should see a line similar to this
> near the top:
>
> <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">
>
> In order to change the default extension from .htm to .html modify the
> part that says:
>
> winfileextension="htm,html,shtml,shtm,stm,lasso,xhtml"
>
> to read:
>
> winfileextension="html,htm,shtml,shtm,stm,lasso,xhtml"
>
> (make .html first)
>
> Then save the file and restart Dreamweaver and check the preferences
> page to see the result.
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews