PDA

View Full Version : FAQ tab code not in navbar template


CharlesEdwards
03-26-2013, 08:28 PM
I have run into a problem while trying to remove the FAQ link from under the Forum tab.

After research it appears I need to remove this line of code from the navbar template.

<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}" accesskey="5">{vb:rawphrase faq}</a></li>

The problem is that this line of code does not exist. Here is the current and default code.

<div id="navbar" class="navbar">
<ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
{vb:raw template_hook.navtab_start}
{vb:raw navigation}
{vb:raw template_hook.navtab_end}
</ul>
<vb:if condition="$vboptions['enablesearches']">
<div id="globalsearch" class="globalsearch">
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search">
<vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment>
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" tabindex="99"/></span></span>
<span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search<vb:if condition="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="is_browser('ie') AND !is_browser('ie', 7)">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span>
</form>
<ul class="navbar_advanced_search">
<li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li>
{vb:raw template_hook.navbar_advanced_search}
</ul>
</div>
</vb:if>
</div>
</div><!-- closing div for above_body -->

<div class="body_wrapper">
<div id="breadcrumb" class="breadcrumb">
<ul class="floatcontainer">
<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
{vb:raw navbits.breadcrumb}
{vb:raw navbits.lastelement}
</ul>
<hr />
</div>

{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}

<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
<form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
<input type="hidden" name="do" value="dismissnotice" />
<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="{vb:raw return_link}" />
<ol>
{vb:raw notices}
</ol>
</form>
</vb:if>

I have checked in the Header template and found this line of code.

<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase help}</a></li>

Removing this does nothing to the visibility of the FAQ tab for obvious reasons.

So my question is, what template is this code located in?

Lynne
03-26-2013, 09:35 PM
You need to go to Settings > Navigation Manager > click to expand Forum tab contents > uncheck the Active checkmark next to FAQ

CharlesEdwards
03-27-2013, 06:09 PM
Lynne,

Thanks for the information, it worked.

MarceloS
07-08-2013, 01:21 PM
Lynne, thanks for your reply, it helped me a lot.

The thing is: this sub navbar is floating above the tabs navbar after I upgraded to vb4.2.1

It was fine in vb4.2.0 patch 3

The navbar code has not changed since.

Lynne
07-08-2013, 04:28 PM
Create a new style with no parent:

Styles & Templates > Style Manager > Add New Style
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save

Then browse the site using that totally default vbulletin style - do you still have the same problem with your navbar?

XotelHotel
01-30-2017, 07:07 PM
Um as much as this is helpful but i don't see the settings navigation manager help please

MarkFL
01-30-2017, 07:15 PM
Um as much as this is helpful but i don't see the settings navigation manager help please

The "Navigation Manager" isn't part of vB 3.8.x. :)

webmastersun
01-31-2017, 06:24 AM
The "Navigation Manager" isn't part of vB 3.8.x. :)

So, Lynne said it was in vB4x?

MarkFL
01-31-2017, 06:30 AM
So, Lynne said it was in vB4x?

Given that this thread is in a vB4 area, I would say this is a reasonable assumption. :D