Solved

Dreamweaver to make .html the default extension for new pages

Posted on 2007-03-27
11
171 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: 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.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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 …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 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