Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Export file type?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rmmarsh
Super User

USA
396 Posts

Posted - 21 Jun 2008 :  00:39:57  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
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...

joneq
Super User

433 Posts

Posted - 21 Jun 2008 :  01:25:47  Show Profile  Visit joneq's Homepage  Reply with Quote
Never mind.. I think my post was not relevant to what you asked...

Edited by - joneq on 21 Jun 2008 02:55:36
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 21 Jun 2008 :  11:19:02  Show Profile  Reply with Quote
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
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 21 Jun 2008 :  14:46:30  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
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)
Go to Top of Page

joneq
Super User

433 Posts

Posted - 21 Jun 2008 :  16:27:36  Show Profile  Visit joneq's Homepage  Reply with Quote
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

Edited by - joneq on 21 Jun 2008 16:33:02
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 21 Jun 2008 :  18:01:09  Show Profile  Reply with Quote
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
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 22 Jun 2008 :  00:00:05  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
That makes sense... thanks...
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 23 Jun 2008 :  14:36:03  Show Profile  Visit s.dav's Homepage  Reply with Quote
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 ;-)

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000