Ok, I'm obviously missing something, but not sure what. I'm trying to display a variable in the header template, and what I have works just fine in the navbar. Here's what I have to display my mod in the navbar (this works):
PHP Code:
$templater = vB_Template::create('usml_navnet_navbar');
$template_hook[navtab_end] .= $templater->render();
And this is what I was trying for the header (this doesn't work):
PHP Code:
$templater = vB_Template::create('usml_navnet_header');
$templatevalues['navnet'] = $templater->render();
vB_Template::preRegister('header', $templatevalues);
And, I believe, according to the 1st post, I would just add {vb.raw navnet} in the header template. However, it's not working, so I'm obviously overlooking something...