Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Using Dreamweaver to view/edit phtml templates
 
benekski
Jr. Member
 
Total Posts:  19
Joined:  2012-02-18
 

Hi, I\’m using Dreamweaver CS5 to open and view my phtml template files, but when I click on \’Live View\’, I get the following message…

Forbidden
You don\’t have permission to access /magento/app/design/frontend/myTheme/default/template/page/template/linksblock.phtml on this server.

I\’m working locally on a Mac with MAMP running in the background.

Does anyone have any idea why I\’m getting this message and whether it\’s actually possible to view a phtml template file in Dreamweaver\’s Live View? As I mentioned, I\’m using CS5.

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
ToPpS
Jr. Member
 
Total Posts:  1
Joined:  2012-01-17
 

Hi there, had a similar problem to you but I seem to have Magento v1.6.2.0 running on Wamp v2.1 with Dreamweaver CS5.

Obviously you have to have the test site set up in Dreamweaver:
Manage Sites -> New
Site - Site Name: (whatever you want)
- Local Site Folder: (direct to where you installed magento (Wamp/www/"install dir”

Servers - Basic - Add new server
- Server name: (localhost)
- connect using: (local/Network)
- Server folder (as set above - “install dir")
- web URL: (http://localhost/"install dir” or http://127.0.0.1/"install dir")

Servers - Advanced - Server Model: PHP MySQL

When ready (after updating site cache) open index.php from the local files menu/box.
You can click the “Live View” button to view the website.

Trick is to select the discover dynamic files on the bar that is displayed in purple.
The just view the site as you usually would (ctrl+click)

You can’t view the individual .phtml file in live view but you can edit it (save) and view it live in the index.php live view window.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top