TinyPortal
Development => Support => Topic started by: gfxindia on July 01, 2006, 06:48:56 AM
I am going to rename my index.php to forum.php
And i'll be adding a custom index.php
I want the blocks and articles to be shown on that page.
I know the code for displaying blocks.
Some thing like left_bar()
But i know that.
What code should i add to display articles there.
I'm not sure thats even possible Darkman, As the index.php is a part of SMF forums, and TP is wrapped around that i don't think you can go around that and call articles outside SMF and TP.
If it is possible, i think you have to alter a lot of code ???
Doesn't that work like SSI
require("home/gfxindia/public_html/ssi.php");
We may include/require a file at the top and the call the Left block or right Block and it'll be there.
No, it doesn't quite work like that. TPortal.php assume SMF is running on full speed and also includes SSI.php for itself.