PDA

View Full Version : template rendered null?


Kyojii
08-05-2012, 10:45 PM
$templater = vB_Template::create('pagenav');
$templater->register_page_templates();
$pagnav = $templater->render();
var_dump($pagenav);


Is outputting $pagenav = NULL, anyone know why it isn't rendering the template?

kh99
08-05-2012, 11:26 PM
I think it might just be that you've misspelled "pagenav" on the third line.

Kyojii
08-06-2012, 12:16 AM
Thanks, I feel like an idiot... *sigh*.