Quote:
Originally Posted by MarkFL
You need to create a template, with that code in it. Suppose you create this template and name it "mytesttemplate"...then your external script would look like:
|
Actually, you need to name the template whatever you have called it in this line of your php file:
PHP Code:
define('THIS_SCRIPT', 'test');
and again called in this line:
PHP Code:
$templater = vB_Template::create('mytesttemplate');
According to the first line, you need to name the template "test". If you name it anything else, then it won't work. So, I think Mark corrected the template name on one line, but not the other. Both of those should be the same.