Jump to content

Recommended Posts

I\'ve been using DreamweaverMX for a few days now (upgraded from Homesite 5 and Ultradev4) and there\'s DreamweaverMX is annoying me. For some reason, it forces all non-html pages to be only edited via Code Mode. I would like to edit some pages that are using the .php extension in Design mode but DreamweaverMX only allows Code View. Does anyone know how to make DreamweaverMX load .php files in Design mode?

 

Thanks

 

Michael

Link to comment
https://forums.phpfreaks.com/topic/1032-dreamweavermx-force-design-mode/
Share on other sites

Did you define both the local and remote folders for the website?

My setup allows me to see the html portions of the php files as html - it just doesn\'t resolve the php code properly though.

 

Can anyone else improve on this? I tried setting up a testbed site on my local server to test pages before uploading, but I can\'t see how I\'m supposed to update the pages on the test server either - the manula doesn\'t go into much detail on it.

 

D

A few things, you are correct that DWMX renders the HTML correctly, and if you want to render the .php code then you need to select the Live Data View option (has a lightening bolt on it). This will properly render the php code assuming you do not have anything on the page that uses a $_POST/$_GET or similar variable, unless you are working on the remote file.

 

I have found that if you set the site up as a php/mysql server model, it will allow you to acces both the code and design views interchangebly.

 

Hope this helps.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.