The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
My goal is to have multiple navbar layouts and then depending on the section of the site use different layouts. I know I can achieve this other ways, but I think for my purposes having the navbar as an external file and then using an includes is the best way to go.
My steps for testing: 1) copy default navbar template 2) create a new file called newNav.php and paste contents from step 1 3) create plugin for includes at global_start with var name $newNav 4) open a template such as album_pictureview and replace $navbar with $newNav Now go to site and view an individual picture (because we're talking about album_picture view) and it will have the new navbar (which looks just like the original navbar) except that any of the global vbulletin variables aren't working. I tried putting this in the newNav.php document, but it doesn't seem to do a thing. <?php global ($vbphrase, $stylevar, $navbits, $foruminfo, $ad_location); ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|