michaelrosejr Posted September 19, 2003 Share Posted September 19, 2003 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 Quote Link to comment Share on other sites More sharing options...
pauper_i Posted September 21, 2003 Share Posted September 21, 2003 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 Quote Link to comment Share on other sites More sharing options...
stars75238 Posted September 22, 2003 Share Posted September 22, 2003 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.