Quote:
Originally Posted by fishmaster
can someone dumb this down some more please..
|
+1
--------------- Added [DATE]1282318209[/DATE] at [TIME]1282318209[/TIME] ---------------
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.
|
Please tell me if I'm wrong:
1. Go to Plugins > Add plugin
2. Select parse_templates as hook location
3. Paste code and enable?
And then move around the previously mentioned code for the FB button? Or is this more complicated than that?