2006-05-23, 09:22 PM
I'm trying to create a custom page using this template:
http://community.mybboard.net/showthread.php?tid=6615
However, I was trying to set it as though the .php page is in a subfolder, instead of the folder with global.php. Is this easy to change? So far, this is what I have different:
Original:
Edited:
http://community.mybboard.net/showthread.php?tid=6615
However, I was trying to set it as though the .php page is in a subfolder, instead of the folder with global.php. Is this easy to change? So far, this is what I have different:
Original:
<?php
require "./global.php"; // (1)
addnav("Rules page", "rules.php"); // (2)
eval("\$rules = \"".$templates->get("rules")."\";"); // (3)
outputpage($rules); // (4)
?>
Edited:
<?php
require "http://website.com/global.php"; // (1)
addnav("Rules page", "rules.php"); // (2)
eval("\$rules = \"".$templates->get("rules")."\";"); // (3)
outputpage($rules); // (4)
?>