Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Installation / Upgrade Questions

Installation / Upgrade Questions Questions or issues concerning the installation of the Easy PHP Calendar script.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Adding IFRAME to event
Old 05-16-2012, 06:01 AM   #1
carbar
Calendar User
 
carbar is offline
Join Date: May 2012
Posts: 2
Default Adding IFRAME to event

I need to add a video in a event, using iframes, No problem with tinymce. I have modified the "extended_valid_elements" in the header.php, and the preview is OK, but when i save the event, someone strips the code.
In some threads, I've read "set XSS to no", but this option not appears in version 7.
Any solution?
Thanlks in advance.
 

Old 05-16-2012, 06:33 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,969
Default

Can you reply with what you put in the event before saving, and then what is the resulting code left after you save the event?
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 05-16-2012, 06:41 AM   #3
carbar
Calendar User
 
carbar is offline
Join Date: May 2012
Posts: 2
Default

Code before saving:
<iframe src="http://www.wikipedia.com/" name="SubHtml"
width="400" height="500" scrolling="auto" frameborder="1">
<p>Texto alternativo para navegadores que no aceptan iframes.</p>
</iframe>

(Iframe example from spanish Wikipedia)

Code after saving and reload the event:
<p>Texto alternativo para navegadores que no aceptan iframes.</p>
 

Old 05-16-2012, 09:54 AM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,907
Default

This is likely HTMLPurifier that is taking that out. I'm am working on a way to allow additional attributes that aren't normally accepted to pass. Please open a support ticket so I can send you updated files to test when they are ready. And please include your code examples from your previous post.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 
Closed Thread

Tags
iframes, tinymce

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
just hangs after adding repeating event akaalvin General Support 10 09-17-2009 02:45 PM
Very long delay after adding an event. richardh General 4 04-10-2009 11:15 AM
Adding an event takes one minute adventu General Support 3 04-16-2008 11:15 AM
Adding only wanted html code to event details Ulysses General Support 3 07-19-2006 08:25 PM



All times are GMT -4. The time now is 02:24 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |