Solved

Dreamweaver to make .html the default extension for new pages

Posted on 2007-03-27
11
170 Views
Last Modified: 2010-04-25
Is there anyway for have Dreamweaver to have all new pages default to the .html extension (rather than the .htm that currently occurs)?

mama
0
Comment
Question by:mamadouthiam
11 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 18801675
Yup.

Go to Edit | Preferences | New Document and select HTML documents from the pull down.  That should allow you specify the extension in the Default Extension box just below that.
0
 

Author Comment

by:mamadouthiam
ID: 18802321
close - it says I have to go to the "document type xml file" to do this - MMDocumentTypes.xml

I opened this up and in the xml there (along with other lines) is:

<documenttypes xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
      <documenttype id="HTML" internaltype="HTML" winfileextension="htm,html,shtml,shtm,stm,tpl,lasso,xhtml" macfileextension="htm,html,shtml,shtm,tpl,lasso,xhtml" file="Default.html" writebyteordermark="false">
 
but I didn't see how to this would be changed.

Ideas
0
 
LVL 9

Expert Comment

by:pmagony
ID: 18802456
Ugh... you're on MX aren't you?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 18802565
Ah, MX.  

Change this part:

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

to

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

Author Comment

by:mamadouthiam
ID: 18802714
jason1178,

Yes MX

Makes sense but no luck -  same result.

Ideas
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 18802752
Sorry, change both winfileextension and macfileextension the same way.

If it still doesn't work, I don't know what to tell you.  I'm going directly from Adobe Technotes...
0
 

Author Comment

by:mamadouthiam
ID: 18802781
Thanks,

I did try to both, I should have mentioned (still no go)

As an aside, how much better is 8?
mama
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 18802799
>> I did try to both, I should have mentioned (still no go)

According to Adobe, that should have worked.  Try rebooting?

>> As an aside, how much better is 8?

Better than MX :)

It's not a massive change, but the server behaviors are written a little better, CSS support is better, CSS editing is easier, and this problem isn't an issue.  
0
 
LVL 8

Expert Comment

by:radnor
ID: 18804320
I just did it with MX.  Did you shutdown DW and restart it?

http://8help.osu.edu/2199.html
0
 

Author Comment

by:mamadouthiam
ID: 18810299
jason1178,

Got it, must have needed the reboot.  Thanks

mama
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 18810695
Great
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question