All Scripts to run in Entries

Creating and modifying plugins.
Post Reply
rdean
Posts: 2
Joined: Sat Nov 13, 2010 3:58 am

All Scripts to run in Entries

Post by rdean »

So ... I'm poking around attempting to develop a plugin that will allow url insertion of flv and swf files in entries, and play by using flowplayer.

My code is attached in an image/gif -- anytime I run the plugin the '<script>' entries are filtered out of the entry body, leaving only the html entities inserted properly in to the entry body.

It's madding. Where I can I alter the security or how can I force the script commands in to the body of the entry automatically.

It works perfectly if I manually enter the script in the html body of the entry, but it's filtered out if I try to have it included automatically via the plugin.
videoin.gif
videoin.gif (6.69 KiB) Viewed 1658 times
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: All Scripts to run in Entries

Post by garvinhicking »

Hi!

Please show the PHP code of the plugin, I wouldn't know why that shouldn't work...

MAybe some mod_security or whatever filtering is happening, or trouble with the WYSIWYG editing...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply