Color PHP code in .HTML documents? (Dw 2017)
In the previous version of Dreamweaver, I could edit two files as described below, and then all my PHP code, within .html documents, would show up colored as if I was opening a .php file. The method no longer seems to work in Dreamweaver CC 2017.
Does anyone know how to fix this? I'm only looking for a solution that will allow dreamweaver to handle the color coding as described above. I'm not interested in changing file types.
Here's how I did it before. Folders in Brackets are obviously different on each computer and version of adobe.
Extensions.txt Files:
[ - HD - ] \Applications\ [ - ADOBE DREAMWEAVER - ] \configuration\Extensions.txt
[ - HD - ] \Users\ [ - USER - ] \Library\Application Support\Adobe\ [ - DREAMWEAVER - ] \en_US\Extensions.txt
Org Text 1: HTML,HTM,HTA,HTC,XHTML:HTML Documents
New Text 1: HTM,HTA,HTC,XHTML:HTML Documents
Org Text 2: PHP,PHP3,PHP4,PHP5,TPL,PHP-DIST,PHTML:PHP Files
New Text 2: PHP,PHP3,PHP4,PHP5,TPL,PHP-DIST,PHTML,HTML:PHP Files
MMDocumentTypes.xml Files:
[ - HD - ]\Applications\[ - ADOBE DREAMWEAVER - ]\configuration\DocumentTypes\MMDocumentTypes.xml
[ - HD - ]\Users\[ - USER - ]\Library\Application Support\Adobe\[ - DREAMWEAVER - ]\en_US\DocumentTypes\MMDocumentTypes.xml
Org Text 1:
winfileextension="html,htm,shtml,shtm,stm,tpl,lasso,xhtml"
macfileextension="html,htm,shtml,shtm,tpl,lasso,xhtml,ssi"
New Text 1:
winfileextension="htm,shtml,shtm,stm,tpl,lasso,xhtml"
macfileextension="htm,shtml,shtm,tpl,lasso,xhtml,ssi"
Org Text 2:
winfileextension="php,php3,php4,php5,phtml"
macfileextension="php,php3,php4,php5,phtml"
New Text 2:
winfileextension="php,php3,php4,php5,phtml,html"
macfileextension="php,php3,php4,php5,phtml,html"
