Opening PHP file as HTML

Oxygen general issues.
sanderson
Posts: 51
Joined: Fri Jan 27, 2006 12:51 am

Opening PHP file as HTML

Post by sanderson »

I'm sure this is obvious, but I can't figure it out.

I want to be able to open a file with the .php extension and treat it as an HTML page in oxygen. I mostly want this so I can use the author mode to track changes.

How can I do it?
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Opening PHP file as HTML

Post by Radu »

Hi,

You can use the Author for editing the ".php" file and for using track changes only if the content of the php file is XML well-formed.
This can be done in two ways:
1) Add the ".php" file to the Oxygen Project, right click it and choose Open With->Internal editor... and choose HTML
2) Go to the Oxygen Preferences->File Types page, edit the php entry and choose HTML Editor for it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply