TinyPortal

Development => Block Codes => Topic started by: lookseego on December 18, 2006, 04:50:22 PM

Title: How to add any page you want in a block
Post by: lookseego on December 18, 2006, 04:50:22 PM
Although I am new to the whole TP thing, I recently discovered you you can add anypage that you want to you forum. Like topsites for example, on your frontpage. Here are the steps that I had followed:


First you need to have a topsite or something else install on your server!!

First create a new "scriptbox" in the "frontpage block" in  block management section of TPADMIN

Then place this code in the "scriptbox"

<iframe marginwidth="1" marginheight="0" hspace="0" style="width: 1000px; height: 1025px; background-color: transparent" name="I1" align="top" frameborder="0" src="CHANGE TO YOUR SITE">
</iframe>


NOTE: YOU CAN CHANGE THE WIDTH AND HEIGHT TO FIT INTO YOUR FORUM

Hit send and make sure you turn everything on the make it work!!


I used this to add GPIX(script) to my forum's frontpage and worked pretty well!

Here is the link to my page: http://www.lookseego.com/forum if you want to see how it turns out!

I hope this helps any one who wants to add another page to their forum!


Title: Re: How to add any page you want in a block
Post by: Thurnok on December 18, 2006, 10:52:52 PM
You might like to check this out lookseego:

Custom Page Block (http://www.tinyportal.net/index.php?topic=7159.msg59071#msg59071)

It lets your users have their own.  ;)