Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Name: smbotans
hi all,
i have a customer who is running FrontPage 2003.
I did some SEO work for him in the process of which i changed some html files to php.
He says that now he can't open the php files in design view in FrontPage. But he can in code view.
I don't run FrontPage so i cannot troubleshoot the problem.
Anyone have any idea how my customer can view the php files in design view? Or any idea what the problem is?
Thanks in advance,
Serge

Not a FrontPage user myself, but the problem seems pretty evident. The Design View of FrontPage is a WYSIWYG editor. In other words, it interprets the code and renders it how it will look to the end user. Apparently FrontPage does not support PHP so it has no way to descipher the code for display.
The only workaround that I can think of which *might* work would be to include the php code within script tags or comment tags:
<script>
<?php
... php code
?>
</script>Actually I think the comment approach would be the best.
Michael J

hey michael,
interesting comment about FP not coping with PHP code ... i use Namo Webeditor and i have no problems with PHP even though it can't process it ... it still allows me to work with the pages in design mode
i will try your suggestions
thanks for that
serge

michael,
your suggestions did not work in the sense that if i did either one, then the php script would not run ... just letting you know
i did find an answer by googling the problem ... it was a case of letting FP know what to do with the php files
here is the info i got, in case others have the same problem:
- On the Tools menu, click Options, and then click the Configure Editors tab.
- In the Extensions list, locate and select the file extension that you want to use.
- In the Editors list, select FrontPage (Open as HTML).
- Click Make Default.
If the extension that you want does not appear, you must add it.thanks for your help
serge

![]() |
new window JS same as ori...
|
Site Won't Load On Random...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |