The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I'd like to hide the nav/breadcrumb bar on the index, but show it on every other page. Is there an if condition for this? So if the page is index.
|
|
#2
|
||||
|
||||
|
in navbar template replace
HTML Code:
<if condition="is_array($navbits)">
HTML Code:
<if condition="is_array($navbits) AND THIS_SCRIPT != 'index'">
HTML Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> HTML Code:
<if condition="THIS_SCRIPT != 'index'"> <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> </if> |
|
#3
|
|||
|
|||
|
lol... I just realized I could just remove $navbar from the forumhome template. Oh boy am I slow.
Anyway, thank you for the help! |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|