TinyPortal

Development => Support => Topic started by: Amay_Zing on December 01, 2005, 06:28:32 PM

Title: Centre Blocks
Post by: Amay_Zing on December 01, 2005, 06:28:32 PM
How do I get a link from my contents block to show another  page in the centre block..   What I would like is this, when people click on the Roster it takes them to a VWar page but I want it to come up in the middle block of the theme.  Hope you understand what I'm on about here  :-\

Thanks
Title: Re: Centre Blocks
Post by: bloc on December 01, 2005, 07:02:56 PM
Either 1) "include" the VWar page inside a php-article, or 2) use a iframe to show in also a php-article or normal article.

How is the VWar page functioning?
Title: Re: Centre Blocks
Post by: Amay_Zing on December 02, 2005, 02:20:27 PM
Thats too hard a question Bloc - please give me an easier one ;D
Title: Re: Centre Blocks
Post by: frisp on December 02, 2005, 04:33:34 PM
Have a look @ http://vf.unrealgamerz.org/ . Vwar is integrated there, is that what you're trying to do??
Title: Re: Centre Blocks
Post by: Amay_Zing on December 02, 2005, 10:29:44 PM
Yep thats it exactly ;D

BTW looks like you have the same problem I had with your border round right hand block - a stray </table> tag in the  block.
Title: Re: Centre Blocks
Post by: frisp on December 03, 2005, 08:24:53 AM
I installed vwar to it's own database (makes it easier to sort if I make a major mistake), and created articles for the pages I wanted shown. Also a vWar catagory in the menu. Very easy to integrate.

Example code for article
echo '<IFRAME src="http://vf.unrealgamerz.org/vwar/joinus.php" width="100%" height="500" marginwidth=0 marginheight=0 frameborder=0 scrolling=yes></IFRAME>' ;
Title: Re: Centre Blocks
Post by: Amay_Zing on December 03, 2005, 12:38:24 PM
mmm got that thx.  How do I link the contents to the article?
Title: Re: Centre Blocks
Post by: frisp on December 03, 2005, 03:02:09 PM
After creating your catagories and articles, go to menu manager, add menu item and fill in the required fields. Making sure that article is checked under "Type".  :laugh:


The problem I had with breaking the theme was a missing </textarea> tag  :idiot2: Think I messed it up adding the marquee & javascript :P
Title: Re: Centre Blocks
Post by: Amay_Zing on December 03, 2005, 11:15:14 PM
cool

I have the hang of the above now thanks frisp ;D
Title: Re: Centre Blocks
Post by: frisp on December 04, 2005, 06:03:20 AM
You're welcome  :laugh: