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.