SimplePortal

Support => English Support => Topic started by: Itchigo on June 18, 2014, 11:12:56 AM

Title: Embed a page into a block?
Post by: Itchigo on June 18, 2014, 11:12:56 AM
I'd like to do something like this, but not necessarily this site/link. This is a screenshot from another site (not SMF), but it shows what I'd like to do. I'd like to make a "newsblock" of sorts.

I have a youtube working in a block but I don't know about a page/site.

Can I just alter what I have for the youtube block?

<iframe width="560" height="315" src="//www.youtube.com/embed/hNOqMcIccDk" frameborder="0" allowfullscreen></iframe>
Title: Re: Embed a page into a block?
Post by: AngelinaBelle on June 18, 2014, 03:21:07 PM
You can embed an iframe in an html block.  Have you tried it?
Title: Re: Embed a page into a block?
Post by: Itchigo on June 18, 2014, 07:30:32 PM
I don't know what that is or how to do it. (Yet). ;)
Title: Re: Embed a page into a block?
Post by: AngelinaBelle on June 19, 2014, 05:42:50 PM
Create new block -- custom html
Read about how to use iframe tag http://www.w3schools.com/tags/tag_iframe.asp


See how you like the result.

Enjoy!
Title: Re: Embed a page into a block?
Post by: Itchigo on June 19, 2014, 07:11:53 PM
Thanks, I got part of it working.

Maybe off topic but is there a way to make my bottom block the width of the forum? I don't see an option for it in configuration.
Title: Re: Embed a page into a block?
Post by: velorooms on June 20, 2014, 09:40:21 AM
Use the footer block instead of bottom block. That will go full width.

Title: Re: Embed a page into a block?
Post by: Itchigo on June 20, 2014, 09:02:59 PM
Thanks, that worked. ;D
SimplePortal 2.3.8 © 2008-2024, SimplePortal