The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hi how do i SSi in a template.
Reason being is that i have created a gallery, ( index.pl ) , and i want to use the layout of the forum to. I've created a php called gallery.php with : <?php error_reporting(7); // ############################### start gallery ############################### if ($action=="gallery") { $templatesused = ""; // Only one template used so load it when called include("./global.php"); $page = intval($page); if (!$page) $page = ''; eval("dooutput(\"".gettemplate("gallery")."\");"); } ?> And have created the template called gallery. when i insert :- include("http://www.peugeot-gti.net/gallery/index.pl"); in the gallery.php , the gallery is loaded, but then under neith the forum buttons and logo load. No matter where i put the line include("http://www.peugeot-gti.net/gallery/index.pl"); in the gallery.php it never displays in the center of the header and footer. ( I now understand this is right, u can't get it to display center using the gallery.php to call it. ) So this brings me onto the gallery template . how do i ssi or the equivlent to : include("http://www.peugeot-gti.net/gallery/index.pl"); in a vb template. Please help. |
#2
|
||||
|
||||
try using the full path to the index.pl , for example
include('/your/full/path/index.pl'); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|