i have completed what the tutorial says. i have made a test template and changed header include to what is stated. then i put my code in another folder...
pub_html>community
pub_html>file here
heres the code i have i dont really know if i made the template right or not in stylemanager since it didnt really state where to put it.
Code:
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'index1'); // change this depending on your filename
//########################## REQUIRE BACK-END ############################
$currentdir = getcwd();
chdir('/home/site/public_html/community');
require_once('./global.php');
chdir($currentdir);
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
't1',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
$navbits = array();
$navbits[$parent] = 'Test Page';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('t1') . '");');
the page when i load it in any directory ends up being blank. no errors or anything just blank white. the template should be showing but isnt. everything i have tryed throught the entire thead here has no effect aparently... or i have something wrong... is there any way to show this page on a non vb folder? cause it doesnt show in the vb folder either