Problem using 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.
Locked
jacmgr

Problem using iframe

Post by jacmgr »

On my site: http://www.jhplace.net/cms

I have inserted another page using iframe tags.  The iframe DOES display OK.  The problem is that all text after it and oftern before the iframe disappear.  Somehow the editor is erasing it. 

Does anyone have suggestion on showing text before and after an iframe?  Do you ever have this probelm?

Thankyou
jacmgr

Re: Problem using iframe

Post by jacmgr »

Here is some additional info about my iframe problem!

If anyone has any ideas about ny iframe problem, let me know!  Basically on the Calendar page and the rates page, and the photo page, i use an iframe to pull another page in.  That works fine and you see the reuslts on the site in the iframe.  So far so good, however, I have simple text content above and below the iframe.  None of the text BELOW the iframes gets displayed.  Somehow seems like it is deleting anything after iframe.  Anyone else use an iframe with TEXT and other page elements AFTER THE IFRAME?  Even the FOOTER doesn't show up!!  The footer is in the "source view" of the diplayed HTML but not on the displayed page!.  But my text after iframe is not i the source view or displayed page.
jacmgr

Re: Problem using iframe

Post by jacmgr »

No one really has any suggestion for this problem?    It is a showstopper for my customer and we'll have to move on to another cms if we can't get the iframe working.  I'd like to stay with CMSMS if we can, but I can't tell them not to use iframes!

I appreciate any ideas anyone has for me to try.  I have searched these forums and did not find anything related to this problem.  Maybe some other search words would find something?

Thankx again!!
John
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Problem using iframe

Post by Ted »

Try changing the & to a & in your src of the iframe tag.
jacmgr

Re: Problem using iframe

Post by jacmgr »

Thankx wishy.  That did not work.  It is actually deleting the content after the iframe in the EDITOR.  Once you save the content, anything after the iframe disappears.  NOt there when you go back and edit the content again!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Problem using iframe

Post by Ted »

Two options for this:

1. Don't use a WYSIWYG.  While the easiest, it's not always practical for clients.

2. Make an html blob with the iframe code in it () with the WYSIWYG off and include it in your page with {html_blob name='nameyougavetheblob'} with the WYSIWYG on.  Chances are your client is not going to have to touch the iframe definition ever, so you should be in good shape.
jacmgr

Re: Problem using iframe

Post by jacmgr »

Ok. That seems to be the solution right now.  This is what need to do:

1) With the WYSIWYG turned OFF  Make up your BLOBS that have the .  Never go edit these again once you turned WYSIWYG ON.

2) With WYSIWYG ON, you can then use these blobs like any other blob.

Thankx
john
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Problem using iframe

Post by Ted »

Yeah, sorry there isn't a better solution, but the WYSIWGs just weren't made to do that kind of stuff.  Should probably make an iframe plugin at some point...
Locked

Return to “CMSMS Core”