Getting this code to display in small custom block

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked
User avatar

Topic author
Foxy
Valued Contributor
Posts: 60
Joined: 8. January 2009 12:31
phpBB.de User: Foxy
phpBB.com User: fujcube
Location: Scottish Borders
Contact:

Getting this code to display in small custom block

Post by Foxy »

Your Portal Version: 1.0.4
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner
Boardlink: http://www.border-forums.com

What have you done before the problem was there?
Nothing

What have you already tryed to solve the problem?
Various editing of code, adding BB tags etc etc.

Description and Message
Hi,

I am trying to get this code to display properly in the small custom block on my portal page:

<iframe src="http://www.worldcommunitygrid.org/getDy ... cial=false" frameborder="0" name="di" scrolling="no" width="405px" height="145px"></iframe>

The code should display an image with some statistics from my team that I created on the World Community Grid.

Regards, fujcube
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Getting this code to display in small custom block

Post by Marc »

First of, it doesn't fit in the small custom block, just in the center custom block.

Second of, it does work. Just enable the custom block and copy the iframe code in the codebox in the ACP. Make sure that BBCode is not enabled.

P.S: Because of the iframe, the page is not XHTML valid anymore.
User avatar

Topic author
Foxy
Valued Contributor
Posts: 60
Joined: 8. January 2009 12:31
phpBB.de User: Foxy
phpBB.com User: fujcube
Location: Scottish Borders
Contact:

Re: Getting this code to display in small custom block

Post by Foxy »

Hi,

Thanks for the reply. I can change the 'widget' for a smaller one, the code will be similar, just a smaller image. What does this mean "Because of the iframe, the page is not XHTML valid anymore"

Someone over at phpBB.com suggested:
http://www.phpbb.com/community/viewtopi ... #p11768455


Regards
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Getting this code to display in small custom block

Post by Marc »

XHTML valid just means that the code is 100% correct regarding the XHTML 1.0 standard. The iframe shouldn't cause any errors.

What the user over at phpBB.com suggested, doesn't change anything, as it is still an iframe.
User avatar

Topic author
Foxy
Valued Contributor
Posts: 60
Joined: 8. January 2009 12:31
phpBB.de User: Foxy
phpBB.com User: fujcube
Location: Scottish Borders
Contact:

Re: Getting this code to display in small custom block

Post by Foxy »

Thank you. I changed the widget code for a smaller one did as you suggested. Now working fine.

Regards, fujcube
Locked

Return to “board3 Portal 1.0.x - English Support”