View Full Version : Trying to find 2 "$navbits" Variables
TrinityEnt
06-10-2009, 03:56 PM
Hi.
I am trying to find where navbar gets "$navbits[breadcrumb]" and "$navbits[lastelement]" from.
I have searched around the forums and can not seem to find what I need.
Any help on to where I can find the 2 variables would be greatly appreciated.
Sincerely,
- TrinityEnt
RTMdotORG
06-10-2009, 04:13 PM
search in phrases in the language and phrases menu...
TrinityEnt
06-10-2009, 04:20 PM
I have tried that.
No Phrases Matched Your Query
Doesn't it usually refer to Languages & Phrases with "$vbphrase"
I am trying to do something like this.
<if condition="("$navbits[breadcrumb]" == "Section Title")"> class="current"</if>
Nothing seems to work though.
I just need to know how it prints "$navbits[breadcrumb]", I am assuming that "$navbits[lastelement]" will be similar.
RTMdotORG
06-10-2009, 04:44 PM
Well your breadcrumb is in the navbar template...what exactly are you trying to do?
the breadcrumb i believe is when it shows your forum name and when you click a forum it shows the forum and everything in the navbar...like a navigation...
TrinityEnt
06-10-2009, 05:03 PM
Im trying to do a tab system
<li<if condition="("$navbits[lastelement]" == "Section Title")">
class="current"</if>
<if condition="("$navbits[breadcrumb]" == "Section Title")">
class="current"</if>>
<a href="#" title="Tab Title"><span>Tab text</span></a>
</li>
I know you guys get threads about tabs all the time, but none of the modifications offered match what i want.
I want the tab to stay highlighted as long as a person is in the section.
Sort of like vbulletin.org`s.
mindfrost82
07-24-2009, 05:37 PM
Did you ever find this? I want to add an RSS Feed icon next to each forum listed in the navbits, but I can't seem to find the location of them.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.