iframe not work in new page

Insert iframe tag in a new page html block is fine, but it still display html code, not iframe source page.

Any suggestion to make iframe to load source page.

Quote · 26 Jan 2011

edit your html block via your MySQL database some code could be striped out

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 26 Jan 2011

Thanks, newton27.

Not 100% understand your comment.

Here is html code I put into new page html block.

<html>

<body>

<iframe src="http://my_site_name.com/" width="90%" height="4000" frameborder="0" scrolling="no"></iframe>

</body>

</html>

If I open new page, the page display this html code, not the src page.

If I copy and past http://my_site_name.com/ to browser, the src page will be loaded.

 

 

Quote · 27 Jan 2011

Try just this.

<iframe src="http://my_site_name.com/" width="90%" height="4000" frameborder="0" scrolling="no"></iframe>

Dolphin already has html and body tags as part of the page. They should never be repeated inside a html block. Try to think of a html block as a part of a body that has already been started so should only contain html that would normally be inside the body tags of a page.

Anyhow, the tinymce editor might be stripping the iframe tag was the point newton27 was trying to make because iframe tags are classified as dangerous html tags. And they are if the public is allowed to use them. So he suggested you paste your html directly into the database, but i am guessing you do not know how to do this.


https://www.deanbassett.com
Quote · 27 Jan 2011

 

Thanks, newton27.

Not 100% understand your comment.

Here is html code I put into new page html block.

<html>

<body>

<iframe src="http://my_site_name.com/" width="90%" height="4000" frameborder="0" scrolling="no"></iframe>

</body>

</html>

If I open new page, the page display this html code, not the src page.

If I copy and past http://my_site_name.com/ to browser, the src page will be loaded.

 

 

You did post the code using the 'HTML' button in TinyMCE... right??

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 27 Jan 2011

Oh hell. HL. I did not even think of that. I always forget that many people do not know that has to be done to use raw html code.

Boonex really must get rid of the editor for a HTML block. I believe you mentioned that before it makes no sense to have a wysiwyg editor for html code.

https://www.deanbassett.com
Quote · 27 Jan 2011

deano92964, thanks.

I already tried the way you mentioned just

<iframe src="http://my_site_name.com/" width="90%" height="4000" frameborder="0" scrolling="no"></iframe>

and it did not work.

You are right I never did that via MySQL, but if you can give me instructions how to do it, I will try it.

At least, I understood to some what newton27 means.

 

Quote · 27 Jan 2011

If you don't want to add extra modules and or manually change the code.

  1. Create HTML block on desired page for iframe
  2. Insert your page code (and I suggest when creating this block you insert your Language "key" i.e. "_games, _iframe")
  3. Open your phpmyadmin from you cPanel
  4. Open your Dolphin MySQL database
  5. Open and edit sys_page_compose
  6. navigate to the last page of list with the ">>" button
  7. find the caption  "_games, _iframe" listed for the index page or the page you inserted the games or iframe code to
  8. re paste the game, iframes code into the "Content" field
  9. and click "Go"

Dolphin strips out important code when inserting scripts..

this is taken from http://www.boonex.com/unity/forums/?action=goto&my_threads=1#topic/How-Do-I-Add-Facebook-Fans-Box--2010-12-14.htm

but edited for this issue

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 27 Jan 2011

 

Oh hell. HL. I did not even think of that. I always forget that many people do not know that has to be done to use raw html code.

Boonex really must get rid of the editor for a HTML block. I believe you mentioned that before it makes no sense to have a wysiwyg editor for html code.

That's OK Deano.... ole Newt has got this under control.  Personally, I'd be interested in confirming that the code was entered into the actual code window, before sending someone on a database diving mission.  But hey.... that's just me.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 27 Jan 2011

Thanks, Newton27.

I have followed your instructions and now the iframe code only display Lang Key.

It still doesn't display iframe src page.

But iframe src page does display in Page Builder -> HTML Block -> HTML-content.

I tried put two html code format with html head and only iframe tag. None is working.

Any suggestion?

Quote · 29 Jan 2011

OK not sure your following me..

this your iframe code from this thread <iframe src="http://my_site_name.com/" width="90%" height="4000" frameborder="0" scrolling="no"></iframe>

I changed my_site_name.com in your link above to google.com

<iframe src="http://www.google.com/" width="90%" height="4000" frameborder="0" scrolling="no"></iframe>

see the example here > http://www.duvallocals.info/page/iframe

Now taking this example, working like this..going back to page builder and simply opening and re saving this block will remove iframe line and it will not work again.

This HAS to be done via MySQL database unless you modify according to this thread

http://www.boonex.com/unity/forums/?action=goto&my_threads=1#topic/website-stripping-from-HTML-block.htm

and this one http://www.boonex.com/unity/forums/#topic/Page-Builder-Big-Bug.htm

 

Oh and clear your cache!

 

Thanks, Newton27.

I have followed your instructions and now the iframe code only display Lang Key.

It still doesn't display iframe src page.

But iframe src page does display in Page Builder -> HTML Block -> HTML-content.

I tried put two html code format with html head and only iframe tag. None is working.

Any suggestion?

 

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 29 Jan 2011

Thanks, newton27.

Oh and clear your cache!

This is last and important step I missed.

Now my iframe tag is working.

Thanks again for your great help.

 



Quote · 29 Jan 2011

The best advice on the iframe issue is to CLEAR YOUR CACHE!

I was fooling around with this iframe problem for hours.  Doing everything step-by-step on what Newton27 said.

I could not figure out why my iframe still was not working UNTIL I SAW. . .

 

CLEAR YOUR CACHE!

BOING!  There were my iframes!

 

Cool

Quote · 19 Nov 2011

Thanks, works on D7.0.7  Smile

 

If you don't want to add extra modules and or manually change the code.

  1. Create HTML block on desired page for iframe
  2. Insert your page code (and I suggest when creating this block you insert your Language "key" i.e. "_games, _iframe")
  3. Open your phpmyadmin from you cPanel
  4. Open your Dolphin MySQL database
  5. Open and edit sys_page_compose
  6. navigate to the last page of list with the ">>" button
  7. find the caption  "_games, _iframe" listed for the index page or the page you inserted the games or iframe code to
  8. re paste the game, iframes code into the "Content" field
  9. and click "Go"

Dolphin strips out important code when inserting scripts..

this is taken from http://www.boonex.com/unity/forums/?action=goto&my_threads=1#topic/How-Do-I-Add-Facebook-Fans-Box--2010-12-14.htm

but edited for this issue

 

Quote · 18 Jan 2012

Great Post thanks for the help !!

Quote · 15 Feb 2012

look here

http://xmako.com/

 

this woork

<script type="text/javascript">// <![CDATA[

/***********************************************

* IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)

* This notice MUST stay intact for legal use

* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code

***********************************************/

 

//specify path to your external page:

var iframesrc="http://www.itoto4.com/18.html"

 

//You may change most attributes of iframe tag below, such as width and height:

document.write('<iframe id="datamain" src="'+iframesrc+'" width="120px" height="750px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>')

// ]]></script>

 

http://www.dynamicdrive.com/dynamicindex2/iframe-scroller.htm

Quote · 11 May 2012

 

look here

http://xmako.com/

 

this woork

<script type="text/javascript">// <![CDATA[

/***********************************************

* IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)

* This notice MUST stay intact for legal use

* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code

***********************************************/

 

//specify path to your external page:

var iframesrc="http://www.itoto4.com/18.html"

 

//You may change most attributes of iframe tag below, such as width and height:

document.write('<iframe id="datamain" src="'+iframesrc+'" width="120px" height="750px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>')

// ]]></script>

 

http://www.dynamicdrive.com/dynamicindex2/iframe-scroller.htm

 should work as long as inserted directly into your database

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 11 May 2012

 Hi   I have followed everything you've written, but for some reason when I go to sys_page_compose The block I just created does not appear anywhere in "sys_page_compose". Any Help would be appreciated, thanks.


If you don't want to add extra modules and or manually change the code.

  1. Create HTML block on desired page for iframe
  2. Insert your page code (and I suggest when creating this block you insert your Language "key" i.e. "_games, _iframe")
  3. Open your phpmyadmin from you cPanel
  4. Open your Dolphin MySQL database
  5. Open and edit sys_page_compose
  6. navigate to the last page of list with the ">>" button
  7. find the caption  "_games, _iframe" listed for the index page or the page you inserted the games or iframe code to
  8. re paste the game, iframes code into the "Content" field
  9. and click "Go"

Dolphin strips out important code when inserting scripts..

this is taken from http://www.boonex.com/unity/forums/?action=goto&my_threads=1#topic/How-Do-I-Add-Facebook-Fans-Box--2010-12-14.htm

but edited for this issue

 

Quote · 13 May 2012

 

If you don't want to add extra modules and or manually change the code.

  1. Create HTML block on desired page for iframe
  2. Insert your page code (and I suggest when creating this block you insert your Language "key" i.e. "_games, _iframe")
  3. Open your phpmyadmin from you cPanel
  4. Open your Dolphin MySQL database
  5. Open and edit sys_page_compose
  6. navigate to the last page of list with the ">>" button
  7. find the caption  "_games, _iframe" listed for the index page or the page you inserted the games or iframe code to
  8. re paste the game, iframes code into the "Content" field
  9. and click "Go"

Dolphin strips out important code when inserting scripts..

this is taken from http://www.boonex.com/unity/forums/?action=goto&my_threads=1#topic/How-Do-I-Add-Facebook-Fans-Box--2010-12-14.htm

but edited for this issue

 I did all the above, to the last detail, I still see the raw scripts : http://www.mystaicommunity.com/page/quizes ... this is very confusing and worrisome...

Quote · 2 May 2013

 

I did all the above, to the last detail, I still see the raw scripts : http://www.mystaicommunity.com/page/quizes ... this is very confusing and worrisome...

 PM me the code if you can and I will tell you what you need to do. Laughing

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 2 May 2013

What they left out in the steps above....

you need to clear out cache and cache_public folder when ever you change anything directly in the database.

Also keep in mind if you ever open that page block again in page builder it will strip out the code again... 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 2 May 2013

 

 

I did all the above, to the last detail, I still see the raw scripts : http://www.mystaicommunity.com/page/quizes ... this is very confusing and worrisome...

 PM me the code if you can and I will tell you what you need to do. Laughing

I have done so, check your PM...

 

Quote · 3 May 2013

 

 

 

I did all the above, to the last detail, I still see the raw scripts : http://www.mystaicommunity.com/page/quizes ... this is very confusing and worrisome...

 PM me the code if you can and I will tell you what you need to do. Laughing

I have done so, check your PM...

 

 I think your not clicking on the "HTML" button.

click-html-button.jpg · 44.4K · 1379 views
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 4 May 2013

if you still have issues you could try a PHP block

~~Mike ~~ This Signature is missing something :(
Quote · 4 May 2013

 

 

If you don't want to add extra modules and or manually change the code.

  1. Create HTML block on desired page for iframe
  2. Insert your page code (and I suggest when creating this block you insert your Language "key" i.e. "_games, _iframe")
  3. Open your phpmyadmin from you cPanel
  4. Open your Dolphin MySQL database
  5. Open and edit sys_page_compose
  6. navigate to the last page of list with the ">>" button
  7. find the caption  "_games, _iframe" listed for the index page or the page you inserted the games or iframe code to
  8. re paste the game, iframes code into the "Content" field
  9. and click "Go"

Dolphin strips out important code when inserting scripts..

this is taken from http://www.boonex.com/unity/forums/?action=goto&my_threads=1#topic/How-Do-I-Add-Facebook-Fans-Box--2010-12-14.htm

but edited for this issue

 I did all the above, to the last detail, I still see the raw scripts : http://www.mystaicommunity.com/page/quizes ... this is very confusing and worrisome...

 Since we did this already, I decided to make a video for you to "see" what the process is. 

The video shows the full steps for those that need to see it all the way through.

http://www.youtube.com/watch?v=IWhfTNVD2bc best in full screen.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 8 May 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.