Windows2003 open Codesmith file with Dreamweaver setting method

Source: Internet
Author: User
Tags xsl xslt tld dreamweaver

Computer Environment: Windows2003 (32-bit) +dreamweaver 8 English version (Installation path C:\Program Files\macromedia\dreamweaver 8)


Problem Description: Dreamweaver Open document is not supported by default in Codesmith the template file corresponds to the . CST suffix name file, as follows:


Steps to resolve:

One, open the file with Notepad 1:c:\ Program Files\macromedia\dreamweaver8\configuration\extensions.txt, Modify the following:
Htm,html,shtm,shtml,hta,htc,xhtml,stm,ssi,js,as,asc,asr,xml,xsl,xsd, DTD,XSLT,RSS,RDF,LBI,DWT,ASP,CST,ASA,ASPX,ASCX,ASMX,CONFIG,CS,CSS,CFM,CFML,CFC,TLD,TXT,PHP,PHP3,PHP4

,php5,tpl,lasso,jsp,jsf,vb,vbs,vtm,vtml,inc,java, Edml,wml:alldocuments
htm,html,hta,htc,xhtml:html Documents
Shtm,shtml,stm,ssi,inc:server-side Includes
Js:javascript Documents
xml,dtd,xsd,xsl,xslt,rss,rdf:xml files
lbi:library files
dwt:template files
Css:style Sheets
asp,asa,cst:active Server Pages
aspx,ascx,asmx,cs,vb,config:active server Plus Pages
Cfm,cfml,cfc:coldfusion Templates
As:actionscript files
asc:actionscript communication files
ASR: ActionScript Remote files
txt:text files
php,php3,php4,php5,tpl:php files
Lasso:lasso files
Jsp,jst: Java Server Pages
jsf:fireworks Script
Tld:tag Library descriptor files
Java:java files
wml:wml files
EDML:EDML files
vbs:vbscript files
vtm,vtml:vtml files

1 , in the first line of ASP, after the string is added CST,
2.Find rows asp,asa:activeserver pages modified to asp,asa,cst:activeserver pages

Second, open the file with Notepad 2:c:\program Files\macromedia\dreamweaver8\configuration\documenttypes\mmdocumenttypes.xml

Find rows

<documenttypeid= "Asp-vb" servermodel= "asp VBScript" internaltype= "Dynamic" winfileextension= "ASP" macfileextension= "ASP" file= "default_vb.asp"

Writebyteordermark= "false" >

Revision changed to

<documenttypeid= "Asp-vb" servermodel= "ASP VBScript" internaltype= "Dynamic" winfileextension= "ASP,CST" macfileextension= "ASP,CST" file= "default_vb.asp"

Writebyteordermark= "false" >


Third, open the file with Notepad 3:c:\documentsand settings\administrator\application data\macromedia\dreamweaver 8\Configuration\ Extensions.txt
1, in the first line of ASP, after the string is added CST,
2.Find rows asp,asa:activeserver pages modified to asp,asa,cst:activeserver pages

after you have set up these three steps, you can use Dreamweaver to find and replace CST multiple lines of code in the file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.