Bobred
02-12-2011, 01:01 AM
I've created a template called postbit_customrep, containing a word of text only.
I then created a plugin in the hook global_start, containing:
$templater = vB_Template::create('postbit_customrep');
$template_hook[postbit_customrep] .= $templater->render();
And in postbit_legacy I placed this in the location I wanted the template displayed:
{vb:raw template_hook.postbit_customrep}
Except this ended up with nothing being displayed in the location. How would I display the postbit_customrep inside postbit_legacy?
I then created a plugin in the hook global_start, containing:
$templater = vB_Template::create('postbit_customrep');
$template_hook[postbit_customrep] .= $templater->render();
And in postbit_legacy I placed this in the location I wanted the template displayed:
{vb:raw template_hook.postbit_customrep}
Except this ended up with nothing being displayed in the location. How would I display the postbit_customrep inside postbit_legacy?