Browser preview not working for PHP files?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
JF Cloutier

Browser preview not working for PHP files?

Post by JF Cloutier »

Hi everyone,

I'm using Textpad to edit php. Everything works well except for the "View in browser" button which does not work for such file extension. It works however if the file happens to be a normal HTML file. Any fix for this?

Thanks,

JF Cloutier
Andreas

Re: Browser preview not working for PHP files?

Post by Andreas »

Did you allow the "view in browser" in the appropriate document class?

Go to Configure/Preferences
In the tree on the left, select
Document Classes, then the class containing PHP files
In the tree on the righthand sight, you should see a checkbox "View in Web Browser" (on my installation, it is the 5th from the top)
Post Reply