Quote:
Originally Posted by downloadsuk
Well it looks like it's your lucky day my friend. I'm doing exactly the same thing.
You can move the code no problem - and its not the code thats wrong. Its the way VB executes its templates. The template has to be "registered" for use inside another template. From default, the facebook header template that gets called after the VB conditional in header is not registered for use in the navbar template.
You have to create your own addon at template hook "parse_templates" location that fires this code:
Code:
vB_Template::preRegister('navbar', array('facebook_header' => $facebook_header));
that will make the facebook header display in the navbar. So far i haven't needed to modify anything else.
Hope that helps. Any questions, just ask.
|
i have done that but it does not seem to change anything..
is their another step?