Hi cellarius,
Thanks for the great article
I running into a bit of a problem, I can see the solution right in front of me but for some reason can't quite get it. Bassically I'm making a plugin so I have the breadcrumbs in the header.
This is what I've got so far setup on the parse_templates hook:
Code:
$templater = vB_Template::create('breadcrumbs');
vB_Template::preRegister(
'breadcrumbs', array('navbits'=> $navbits)
);
$templatevalues['breadcrumbs'] = $templater->render();
vB_Template::preRegister('header', $templatevalues);
The template is called into the header template but for some reason the navbit array doesn't seem to be working?
Thanks