Ticket #4 (closed enhancement: fixed)

Opened 8 years ago

Last modified 5 years ago

Feature Reqeuest: Allow inserting of PHP (etc) into htmlArea

Reported by: guillaume Owned by: guillaumed
Priority: low Milestone:
Component: Xinha Core Version:
Severity: normal Keywords: php, asp, script, server side
Cc:

Description

Allow inserting server-side markup (maybe Javascript too?). Possibly the code culd be converted into comments, with special "marker" images.

Change History

Changed 8 years ago by guillaumed

  • owner changed from gogo to guillaumed

Changed 8 years ago by anonymous

This could be solved by ticket #287

Changed 8 years ago by mharrisonline

If you implement the changes in ticket #287, IE will support the long way of writing PHP in the script tag. Mozilla already does.

If you want to use <? type notation, you will have to place it in HTML comments as Mozilla will convert it to a comment. This means unfortunately that what is generated from echos, includes, or prints will be within the comment. Perhaps you could echo closing comments and then opening comments at the end.

It works fine.

Changed 8 years ago by mharrisonline

The safest way to do this is to use the <script> tag. It can be done with the extended getHTML in ticket 207, or the GetHtml plugin. By default, Xinha destroys scripting, so one of these solutions must be applied.

Changed 5 years ago by ray

  • status changed from new to closed
  • resolution set to fixed

#287 is applied, and there is #1098 New plugin PreserveScripts?? for enhanced editing of pages containing PHP and/or JavaScript?

Note: See TracTickets for help on using tickets.