Opened 13 years ago

Closed 10 years ago

#4 closed enhancement (fixed)

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 (5)

comment:1 Changed 13 years ago by guillaumed

  • Owner changed from gogo to guillaumed

comment:2 Changed 13 years ago by anonymous

This could be solved by ticket #287

comment:3 Changed 13 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.

comment:4 Changed 13 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.

comment:5 Changed 10 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

#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.