![]() |
vBulletin IF Condition
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.
|
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'"> |
lol... I just realized I could just remove $navbar from the forumhome template. Oh boy am I slow.
Anyway, thank you for the help! |
All times are GMT. The time now is 02:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|