Solved

Dreamweaver to make .html the default extension for new pages

Posted on 2007-03-27
11
169 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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 …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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