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

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
dlpirl

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

Post 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.
Last edited by dlpirl on Tue Jul 22, 2008 4:51 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

Have you checked in the last tab, iirc, there is a check for clean pasting that may be removing your html?...
dlpirl

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

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

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

Post 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...
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

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

Post 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!
dlpirl

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

Post 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.
Last edited by dlpirl on Mon Jul 21, 2008 1:13 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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?...
dlpirl

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

Post 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.
Last edited by dlpirl on Mon Jul 21, 2008 8:17 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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?...
dlpirl

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

Post 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.
Last edited by dlpirl on Tue Jul 22, 2008 1:14 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
dlpirl

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

Post 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.
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

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

Post by christiaans »

Very nice, thanks for the helping mark!

Topic closed.
Locked

Return to “Layout and Design (CSS & HTML)”