![]() |
how to modify $navbar
Ok Im creating a new set of templates to make an addition to my forums but make it look completely seperate from my forums. Its a parts review database which uses the same database as the forums but its a hidden forum and the entire look of it is different so Im changing almost everything from forumdisplay.php to partsreview.php and making ALOT of new templates. Im having a problem though in that Im caught up on the navigation bar at the top of the screen.
Somehow someway the template $navbar which creates the navigation bar at the top defaults to use the file forumdisplay.php , I need to change that file to partsreview.php or actually need to create another template called partsreview_navbar and have it use the other file. Simple youd think but there is no mention of the file name forumdisplay.php in the $navbar template. The only thing is mentions is $navbits which I cant figure out for the life of me what that is or where its made up. Can someone please shed some light over here and let me know.. |
ok now I feel like an idiot.. I did a search and found a bunch of info.. appears navbits is made up in the functions.php file which you will find forumdisplay.php.. I would just change the file name their but I still use forumdisplay.php so what I need to do is make a new function which does the same thing as
Code:
|
If you are making a whole new template for this, just remove the $navbar variable from the template, and hardcode it in that template using HTML.
For example, replace $navbar with this: Code:
<table border="0" width="100%" cellpadding="0" cellspacing="0"> |
All times are GMT. The time now is 07:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|