Quote:
Originally Posted by gaitantkd
hi i tried this but no luck using vb 4.1.0 PL2
test.php
PHP Code:
....... // pre-cache templates used by all actions $globaltemplates = array('TEST', );
.......
$templater = vB_Template::create('TEST'); $templater->register_page_templates(); $templater->register('navbar', $navbar); $templater->register('pagetitle', $pagetitle); print_output($templater->render());
?>
template named test:
|
You clearly state in your php page that your template is named "TEST" and then you named your template "test". That is not the same. You need to name it "TEST" (ALL CAPS).