Page 1 of 1
iframe
Posted: Sun Oct 26, 2008 9:26 am
by munster
Hello
I am a newbie to this so please forgive me asking anything obvious. I am using CMS v1.3.1. I have a couple of issues when using an iframe a page.
1. When viewed with IE5 the frame moves down the page when the menu is moused over, I am assuming that this is a CSS problem, but I am not sure how to fix it.
2. If I toggle the WYSIWYG view when creating the page it always removes the iframe html.
Any help gratefully received.
Re: iframe
Posted: Sun Oct 26, 2008 3:50 pm
by igel
If I toggle the WYSIWYG view when creating the page it always removes the iframe html.
The same problem here with CMSMS 1.4.1
I'm looking forward to any solution.
Many thanks in advance for your kind help.
Igel
Re: iframe
Posted: Mon Oct 27, 2008 6:53 pm
by twen88
go to TinyMCE WYSIWYG admin, click on the "advanced" button, add this to the option "extra configuration":
extended_valid_elements : "iframe[marginheight|id|frameborder|scrolling|align|marginwidth|name|id|src|height|width|]"
and see if the TInyMce will stop removing the iframe tag
Re: iframe
Posted: Mon Oct 27, 2008 8:37 pm
by munster
twen88 wrote:
go to TinyMCE WYSIWYG admin, click on the "advanced" button, add this to the option "extra configuration":
extended_valid_elements : "iframe[marginheight|id|frameborder|scrolling|align|marginwidth|name|id|src|height|width|]"
and see if the TInyMce will stop removing the iframe tag
Many thanks, that seems to have done the trick. Just got to sort out why the beloved IE5 makes the whole frame move down the page when the menu is moused over!
Once again thank you.
Re: iframe
Posted: Mon Oct 27, 2008 9:27 pm
by igel
twen88 wrote:
go to TinyMCE WYSIWYG admin, click on the "advanced" button, add this to the option "extra configuration":
extended_valid_elements : "iframe[marginheight|id|frameborder|scrolling|align|marginwidth|name|id|src|height|width|]"
and see if the TInyMce will stop removing the iframe tag
Thank you so much. That solved my problem as well.

Re: iframe
Posted: Thu Jul 16, 2009 11:39 pm
by corinteractive.com
twen88 wrote:
go to TinyMCE WYSIWYG admin, click on the "advanced" button, add this to the option "extra configuration":
extended_valid_elements : "iframe[marginheight|id|frameborder|scrolling|align|marginwidth|name|id|src|height|width|]"
and see if the TInyMce will stop removing the iframe tag
I tried this and it is not working? I also review the TinyMCE Wiki extended_valid_elements and could not get it to work.
WhenI add the code to the "Extra Config" field and save it - it renders the TinkMCE unusable...
Re: iframe
Posted: Mon Jul 20, 2009 4:13 pm
by Pierre M.
Hello,
corinteractive.com wrote:
I tried this...
but what is your System Info ? How is your System Checksum ? Your install...
Can you elaborate on "not working" and "renders unusable" ? What you see, what you expect, what you do, what you get...
Pierre M.
Re: iframe
Posted: Mon Jul 20, 2009 5:31 pm
by corinteractive.com
Pierre M. wrote:
Hello,
corinteractive.com wrote:
I tried this...
but what is your System Info ? How is your System Checksum ? Your install...
Can you elaborate on "not working" and "renders unusable" ? What you see, what you expect, what you do, what you get...
Pierre M.
Basically when I try to add
extended_valid_elements : "iframe[marginheight|id|frameborder|scrolling|align|marginwidth|name|id|src|height|width|]"
The TinyMCE just is disbaled and text area is just standandard text area with no TinyMCE functionality.
CMSMS 1.6...
Checksum works fine:
Results
Owner: apache
Permissions:
Owner: Read,Write
Group: Read
Other: Read
Re: iframe
Posted: Tue Jul 21, 2009 9:33 am
by Dr.CSS
You might want to try using the embed tag, what are you trying to put in the iframe, and are you using any html in it that might get cleaned up from tiny...
Re: iframe
Posted: Tue Jul 21, 2009 1:13 pm
by corinteractive.com
just adding a google map.
I add it in source mode and it works fine but if the client re-opens that page via the admin and saves it - the is removed by Tiny.
http://www.settleinnhotels.com/nashvill ... otels-map2
Re: iframe
Posted: Tue Jul 21, 2009 6:32 pm
by Dr.CSS
How about putting it in a GCB so they can edit the page and not wreck it...
Re: iframe
Posted: Thu Sep 29, 2011 11:13 am
by johnflan
Just tried this and it works in 1.9.4.3
In Tinymce, Advanced tab, add into the Extra Configuration box:
extended_valid_elements : "iframe[src|frameborder|width|height|align]"