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

Recent

Welcome to TinyPortal. Please login or sign up.

May 17, 2024, 09:33:05 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 59
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 30
  • Total: 30

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();