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

Posted on 2006-05-04
Last Modified: 2013-12-16
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..

Question by:turtletimer
    LVL 14

    Accepted Solution

    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.

    Author Comment

    Thanks I'll try it tommorrow at work.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    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 …
    The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
    The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

    732 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now