I've just commented out two of the hook locations, and now am using this one, which seems to work and not break anything:
PHP Code:
$template_hook['navbar_after_links'] .= $add_string; //Line below is fix for 4.2.1
My biggest question I think is how do I add a hook into the MIDDLE of the navbar? Because in the code it's got:
PHP Code:
{vb:raw template_hook.navtab_start}
{vb:raw navigation}
{vb:raw template_hook.navtab_end}
So it's like I can't put anything into the middle of the navbar... I can only add things to the beginning and the end. This is more like a general question, I think.
Being used to how the navbar worked in vb3, I'm considering just not using the Navigation Manager at all and just hardcoding the links in there in the order that I want them.