• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 859
  • Last Modified:

Treat a .thtml file as .html....

I'm using .thtml file for a php framework.

How can I get Dreamweaver to treat it as an .html file? So I get all the code formatting, folding, auto-complete etc..

Thanks.
0
turtletimer
Asked:
turtletimer
1 Solution
 
nltechCommented:
C:\Program Files\Macromedia\Dreamweaver MX 2004\Configuration\DocumentTypes\MMDocumentTypes.xml

add the new extension to the entry for html files. should be near the top, and look something like this when you get done:

    <documenttype id="HTML" internaltype="HTML" winfileextension="htm,html,shtml,shtm,stm,tpl,lasso,xhtml,thtml" macfileextension="htm,html,shtml,shtm,tpl,lasso,xhtml,thtml" file="Default.html" writebyteordermark="false">

for more information on this file, see the topic "Extensible document types in Dreamweaver" in dw's help.
0
 
turtletimerAuthor Commented:
Thanks I'll try it tommorrow at work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now