MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Page 1/3 1 2 3 > >|
Forum RSS feedReply
Issues with Iframe and Blocks
AuthorText
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 07/09/2008 21:58
Issues with Iframe and Blocks
#post11648
Hello,

I am trying to add a Iframe in a block, the code that I am using is

code
<iframe width="225" height="220" scrolling="yes" src="http://www.noaawatch.gov/widgets/ike.htm"></iframe>


The strange thing is, when I add the code in the HTML editor and then leave it, that is click on the Html editor again so all other icons light up the iframe shows perfectly once I click Modify and click on it it no longer shows the iframe. Can anyone shine some light onto my problem ?
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 5137
Contributes: 2480

Gender: _MALE_
Online: No
Date: 07/09/2008 22:04
Re: Issues with Iframe and Blocks
#post11649
Press SOURCE, add your html and SAVE without pressing again SOURCE in the toolbar
Delete Edit Quote
 
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 07/09/2008 22:12
Re: Issues with Iframe and Blocks
#post11650
That didn't work, After doing what you suggested I click to view my page and all i see is the block title and no iframe of the hurricane warnings.
code
<iframe width="<span" style="color: rgb(204, 0, 0);">"225"</span> height=<span style="color: rgb(204, 0, 0);">"220"</span> scrolling=<span style="color: rgb(204, 0, 0);">"yes"</span> src=<span style="color: rgb(204, 0, 0);">"http://www.noaawatch.gov/widgets/ike.htm"</span>></iframe>


Thats how the code looks after it is saved, all I see is a box but no info in it due to the way it saves.
Edited: 07/09/2008 22:15
Delete Edit Quote
 
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 07/09/2008 22:24
Re: Issues with Iframe and Blocks
#post11651
This is weird becuase if I click on the Preview in browser icon it shows the iframe correctly.

After saving it it doesn't show anything except a box.

this is version 3.9.0 with the fix applied.

All addon are ones which you made I don't use 3rd party addons.

The addons i have are:
Documents
Youtube
Quote
Chat
Contact Plus
And one that makes the user stats look better but it is disabled.
Delete Edit Quote
 
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 07/09/2008 22:53
Re: Issues with Iframe and Blocks
#post11652
Adding in comments

<!-- --> etc.. adding in the code and saving and then going back all i see is the comments the code doesn't get saved.
Delete Edit Quote
 
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 07/09/2008 22:56
Re: Issues with Iframe and Blocks
#post11653
There seems to be a bug in saving, as adding a <div> and saving the iframe code gets removed and only the comments and div remain.
Delete Edit Quote
 
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 07/09/2008 23:04
Re: Issues with Iframe and Blocks
#post11655
I think what it is is it block government sites, makes sense as I modified the link I made for my live chat and replace the livechat link with the gov site for the weather and it saved everything and removed the gov link to the hurricane warnings. Heh
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 5137
Contributes: 2480

Gender: _MALE_
Online: No
Date: 07/09/2008 23:11
Re: Issues with Iframe and Blocks
#post11658
Try to copy and paste the code in a clean textarea to get rid of that html style
Delete Edit Quote
 
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 07/09/2008 23:16
Re: Issues with Iframe and Blocks
#post11659
I think thats what it is as I tried to make a news article with the Hurrican warning images and it did the same thing. the code gets removed. Not sure why it does this but all other links work without issue.
Delete Edit Quote
 
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 07/09/2008 23:41
Re: Issues with Iframe and Blocks
#post11662
Ill take the replys as "I dont know figure it out and let me know"
Delete Edit Quote
 
Reply
Page 1/3 1 2 3 > >|
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo