Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Magento Forum

   
How do I…Edit PHTML files in Dreamweaver
 
SwiftCol
Member
 
Total Posts:  74
Joined:  2008-05-22
 

For those looking to edit Mageno’s PHTML files in Dreamweaver, here is how:

First, check out Changing and Adding File Extensions Recognized by Dreamweaver.

Add PHTML to the PHP Documents section of both Extensions.txt and MMDocumentTypes.xml as discussed in the link above.

Here are a few important things to remeber:
1) Don’t edit either of the files mentioned above in Dreamweaver. (XML files may want to launch in Dreamweaver, don’t let them for this.)
2) If you use Vista, you’ll need to take special measures to edit the MMDocumentTypes.xml file, as it resides in Program Files, a protected directory. If you open the XML file in Notepad and try to save it, Vista will not allow you due to security. To edit the file, copy it to your desktop, edit it and save it there, and then copy it back. Vista will then prompt you for administrator access to the file.

Hopefully this will come up in the forum search when someone needs it.

 
Magento Community Magento Community
Magento Community
Magento Community
 
pauld
Jr. Member
 
Total Posts:  17
Joined:  2008-04-20
Port Melbourne, Australia
 

delete this… I didn’t read properly before replying, doh!
red face

Paul

 Signature 

If in doubt, poke it with a stick.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
32091 users|356 users currently online|71970 forum posts