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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,980
  • Total Topics: 21,320
  • Online today: 376
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 152
  • Total: 152

TP + SMF's SSI Layering system = Error

Started by Megaforum, November 15, 2007, 12:49:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dragooon

This time I really didn't search, sorry If I am re-reporting a error
Whenever I use SMF's Layering system when TP Is Installed I get loads of errors
Example of code is

$ssi_theme = 4;
$ssi_layers = array('main');
require_once(....../SSI.php);
echo 'test';
ssi_shutdown();

Mainly because TPortal_init is not called in SSI.php I believe.
So I used something like this
$ssi_theme = 22;
require_once('....../SSI.php');
TPortal_init();
template_main_above();
echo 'test';

ssi_shutdown();


This website is proudly hosted on Crocweb Cloud Website Hosting.