TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 500
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 169
  • Total: 169

How to DO this ?

Started by gfxindia, July 01, 2006, 06:48:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gfxindia

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.

G6Cad

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 ???

gfxindia

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.

bloc

No, it doesn't quite work like that. TPortal.php assume SMF is running on full speed and also includes SSI.php for itself.

This website is proudly hosted on Crocweb Cloud Website Hosting.