I'm trying to capture a rendered/parsed template to a variable like so:
PHP Code:
$templater = vB_Template::create('test');
$templater->register('userid', $userid);
$templater->register('bbtitle', $bbtitle);
$templater->register('homeurl', $homeurl);
$templater->register('forumurl', $forumurl);
$myvar = $templater->render();
echo $myvar;
I would expect that myvar would contain the parsed template, but it comes up empty.
Can anyone help me?