iframe

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
munster
New Member
New Member
Posts: 7
Joined: Sat Mar 29, 2008 5:28 pm

iframe

Post 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.
igel
Forum Members
Forum Members
Posts: 39
Joined: Wed May 21, 2008 8:12 pm

Re: iframe

Post 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
Last edited by igel on Sun Oct 26, 2008 3:53 pm, edited 1 time in total.
twen88
Forum Members
Forum Members
Posts: 118
Joined: Thu Aug 16, 2007 8:07 pm

Re: iframe

Post 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
munster
New Member
New Member
Posts: 7
Joined: Sat Mar 29, 2008 5:28 pm

Re: iframe

Post 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.
igel
Forum Members
Forum Members
Posts: 39
Joined: Wed May 21, 2008 8:12 pm

Re: iframe

Post 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. :-)
corinteractive.com
New Member
New Member
Posts: 7
Joined: Tue Jul 14, 2009 6:34 am

Re: iframe

Post 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...
Pierre M.

Re: iframe

Post 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.
corinteractive.com
New Member
New Member
Posts: 7
Joined: Tue Jul 14, 2009 6:34 am

Re: iframe

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: iframe

Post 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...
corinteractive.com
New Member
New Member
Posts: 7
Joined: Tue Jul 14, 2009 6:34 am

Re: iframe

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: iframe

Post by Dr.CSS »

How about putting it in a GCB so they can edit the page and not wreck it...
johnflan
Forum Members
Forum Members
Posts: 38
Joined: Thu Aug 23, 2007 5:20 pm

Re: iframe

Post 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]"
Post Reply

Return to “CMSMS Core”