Dreamweaver CS4 Version 10 Build 4117
on Microsoft Vista Home Premium Service Pack 2
I'm trying to edit Menalto PHP Gallery files via Dreamweaver. Some of Gallery's core php module files use the .class file extension. I want the following extensions to be treated as PHP files in Dreamewaver.
phtml, class, cpt
I added these extensions to the following files.
C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS4\configuration\DocumentTypes\MMDocumentTypes.xml
C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS4\configuration\Extensions.txt
I set Vista to use Dreamweaver as the default program for opening .class files.
I have restarted the computer.
I can open up phtml and cpt files just fine. However, when I try and open .class files, I get the error:
Dreamweaver can't open .class files
Please choose an HTML, XML, or other compatible file
I used Dreamweaver to create a new file in the Dreamweaver file pannel. I called the new file test.class and opened it up in notepad. Dreamweaver is successfully pre-populating the test.class file with the default PHP template.
So Dreamweaver is creating the test.class file using the default PHP template, but it still can't open .class files in Dreamweaver.
I think this might be a reserved extension or something. Anyone else had a similar problem?