T O P I C R E V I E W |
rmmarsh |
Posted - 21 Jun 2008 : 00:39:57 Is it possible for the preview to pick up the export file type? I have several pages that have .php extensions on the export; when I preview them, the .php is not exported in preview mode, therefore the browser rendering is incorrect.
Thanks... |
7 L A T E S T R E P L I E S (Newest First) |
s.dav |
Posted - 23 Jun 2008 : 14:36:03 The "preview page" function creates an HTML page and invokes it directly. A .php page requires a WEB server in order to run it so it previews pages creating a .htm copy of them as Martin said ;-) |
rmmarsh |
Posted - 22 Jun 2008 : 00:00:05 That makes sense... thanks... |
Martin1 |
Posted - 21 Jun 2008 : 18:01:09 This is normal. As soon as you publish your site or a page then it will have the php extension. You will then need a server (local on your machine) or on the net to view the page.
DHE can't preview the page when it has a php extension because this is a server side script that needs a server and all it's extra's (apache) to be viewable so it temporarely turns it to htm(l) just for previewing purposes.
Martin |
joneq |
Posted - 21 Jun 2008 : 16:27:36 I seem to remember that it only changes after publishing to a server with php installed---I may be wrong.
Have you checked out the php sample site here
http://www.dynamic-html-editor.com/en/tutorials.asp |
rmmarsh |
Posted - 21 Jun 2008 : 14:46:30 You are understanding me... I have .php as my export type extension, when I do a preview, the extension in the browser address bar is .html, not .php (..preview.htm) |
Martin1 |
Posted - 21 Jun 2008 : 11:19:02 Maybe I am not entirely understanding you but when I preview a page that has a php extension by clicking on the little globe in DHE it opens in the browser and I can see the lay-out fine.
Martin |
joneq |
Posted - 21 Jun 2008 : 01:25:47 Never mind.. I think my post was not relevant to what you asked... |