vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Trying to find 2 "$navbits" Variables (https://vborg.vbsupport.ru/showthread.php?t=215830)

TrinityEnt 06-10-2009 03:56 PM

Trying to find 2 "$navbits" Variables
 
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.
Code:

No Phrases Matched Your Query
Doesn't it usually refer to Languages & Phrases with "$vbphrase"

I am trying to do something like this.

Code:

<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

Code:

<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.


All times are GMT. The time now is 04:42 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01954 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete