Add new file type (.phtml, Inc) in Dreamweaver for XP, Win7, Vista & Mac
Using following steps you can add new file type in Dreamweaver for XP, Win7-8, Vista & Mac
For Windows7: Documents and Settings -> User – > AppData -> Roaming -> Adobe -> Dreamweaver[Your Version] – > Configuration -> Extensions.txt
For Vista: Users -> [user] -> AppData > Roaming -> Adobe -> Dreamweaver[Your Version] -> Configuration -> Extensions.txt
For Mac OS: Users -> [Home Folder] -> Library -> Application Support -> Adobe -> Dreamweaver[Your Version] -> [en_US or other locale (only for version CS4)] – > Configuration -> Extensions.txt
HTM,HTML,SHTM,SHTML,XML,XSL,XSD,…. PHP,PHP3,PHP4,PHP5,PHTML,…. JSP,WML,VTML,INC,JAVA,EDML,WML:All Documents
PHP,PHP3,PHP4,PHP5,TPL,PHTML:PHP Files
This step is same as step one but the Extensions.txt file is located in Dreamweaver’s program files folder and inside a configuration folder. To find out that file go:
For XP & Vista: Program Files – > Adobe -> Dreamweaver[Your Version] -> Configuration > Extensions.txt
For Windows7: Program files -> Adobe ->Dreamweaver[Your Version] -> Configuration -> Extensions.txt
Mac OS: Applications -> Adobe -> Dreamweaver[Your Version] -> Configuration -> Extensions.txt
Now we need to change a XML file to fix the colour coding settings for the .phtml files so the code will be easier to edit. This XML file should be located in:
For XP & Vista: Program Files -> Adobe ->Dreamweaver[Your Version] -> Configuration -> DocumentTypes -> MMDocumentTypes.xml
For Windows7: Program files -> Adobe ->Dreamweaver[Your Version] -> Configuration -> DocumentTypes -> MMDocumentTypes.xml
Mac OS: Applications > Adobe Dreamweaver [Your Version] > configuration > DocumentTypes > MMDocumentTypes.XML
Now open the MMDocumentTypes.XML and add ‘phtml’ to the end of the following lines in the xml files. Which should like-
winfileextension=”php,php3,php4,php5,phtml”
macfileextension=”php,php3,php4,php5,phtml”
Note: after this all changes you need to restart your Dreamweaver.
Please support us, Like us on Facebook.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment