Page 1 of 1

[Solved] Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Mon Jul 21, 2008 1:33 am
by dlpirl
Yes, I've read the other threads about issues with Tiny since CMSMS 1.3.  I've had the issues described but none of the following worked for me.

1) Remove the two characters at the end of one line in one of the Tiny MCE config files.
2) Try FCKeditor,  (bad move on my Firefox 2.0.0.16 -- it repeatedly hung), then revert to Tiny
3) Uninstall and upgrade Tiny. (I am now at Tiny MCE 2.4.2.)

Specifically my issue is for content areas with iframe tag content, when I uncheck the WYSIWYG box, the iframe HTML content is removed. If I save the page that way, it is gone.

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Mon Jul 21, 2008 3:33 am
by Dr.CSS
Have you checked in the last tab, iirc, there is a check for clean pasting that may be removing your html?...

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Mon Jul 21, 2008 4:49 am
by dlpirl
Thanks for the suggestion, Mark. I just made that change in Tiny MCE config, and unfortunately the problem behavior did not change, viz. when I uncheck the "Turn WYSIWYG on/off" box *or* click the "Edit HTML Source" icon, there is no HTML, and if I save it that way, the

Code: Select all

<__iframe> blah blah </__iframe>
content is completely gone.

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Mon Jul 21, 2008 6:26 am
by Dr.CSS
Have you tried using the {embed} tag as it will make an iframe for you, I've used it before and it made the .... around what I had embeded...

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Mon Jul 21, 2008 9:27 am
by christiaans
mark wrote: Have you tried using the {embed} tag as it will make an iframe for you, I've used it before and it made the .... around what I had embeded...
My thoughts exactly!

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Mon Jul 21, 2008 12:52 pm
by dlpirl
I've just given that idea a try and unfortunately it doesn't work for what I am tring to do.  Here's why: The iframe code is pasted from Amazon.com for book sales affiliates.  The cmsms page needs to be managed by a person who doesn't edit html --just pastes in the code from Amazon.  I tried editing the amazon iframe code, replacing iframe with embed and src with url. Unfortunately, the amazon code is complex I end up with the a bunch of smarty errors on the page, the images not showing etc.  Granted, with sufficient editing, the amazon code could be transformed to work with {embed}, but if this is the solution, the cure is worse than the disease.

No, I need to get Tiny MCE to work with iframe tags.

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Mon Jul 21, 2008 6:19 pm
by Dr.CSS
So now we get to the real reason, have you tried using a GCB, there is a setting in personal settings "Enable the WYSIWYG editor while editing Global Content Blocks" if you turn wysiwyg so it doesn't return when you submit will this help?...

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Mon Jul 21, 2008 8:09 pm
by dlpirl
'Enable the WYSIWYG editor while editing Global Content Blocks' is already unchecked.  If I could disable WYSIWYG only for the pages in question, that would help a bit.  But the end user really needs WYSIWYG because some of the iframe html is in content area 2, and preview doesn't seem to work for those.

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Tue Jul 22, 2008 12:06 am
by Dr.CSS
1.4beta has preview open in a new window, as preview never has shown second content block...

Do they need to make changes to it and then look to see how it took?...

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Tue Jul 22, 2008 1:06 am
by dlpirl
Yes, they do need to make changes by pasting in iframe HTML from Amazon.com, then seen how it looks before going live.  Tiny MCE did this just fine before CMSMS 1.3, but with 1.3 that functionality  broke.

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Tue Jul 22, 2008 3:50 am
by Dr.CSS
Uninstall tiny and remove all it's folders/files then get the last one that worked and FTP it to site and install it, since it worked what the heck...

Re: Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Tue Jul 22, 2008 4:51 am
by dlpirl
Great suggestion, Mark. It worked!  I had been thinking that the issue wasn't all with Tiny, so I hadn't thought of trying just reverting it.  FTR, Tiny MCE 2.2.7 from CMSMS 1.2.3 has the functionality I needed.

Re: [Solved] Tiny MCE 2.4.2 and cmsms 1.3.1 HTML with iframe tags

Posted: Tue Jul 22, 2008 5:49 pm
by christiaans
Very nice, thanks for the helping mark!

Topic closed.