The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
I need to add something to the navbar on the forum (vb3 rc2). Because I'm using the same chunk of code on NON-forum pages, I created a new template for it. (Yes, it's in the parent style, and all the child styles.) I know that I need to add it into the global.php file so that it will correctly be brought into each page of the forum.
I added to the navbar template: Code:
<!-- / breadcrumb, login, pm info --> <!-- vh nav buttons bar --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> $vh_navbar_contents </tr> </table> </div> <!-- / vh nav buttons bar --> <!-- nav buttons bar --> <div align="center"> Poking in the global.php file, I can see where the templates are called, and added the new one in with the other navigation templates: Code:
// navbar construction 'vh_navbar_contents', 'navbar', 'navbar_link', ![]() Thanks! Jeniffer |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|