Above is a relevant snippet for my Navigation Bar. I am now trying to make use of the Relevant Phrases feature, but because i am placing them inside the navbar template when viewing areas such as Private Messages, the User CP and such no information is being displayed (and rightly so, since it isnt relevant there) in the right hand side of the template. What i would like is an IF statement which will appear when the user isnt viewing the "thread[title]" or "foruminfo[title]" areas.<!-- Element Nav -->
<div class="element_nav_border">
<div class="element_nav">
<if condition="is_array($navbits)">
<table cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="15"><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back] - Forums" border="0" /></a></td>
<td width="55%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <br /><a href="$scriptpath"><span class="navbar"><strong>$navbits[lastelement]</strong></span></a>
</td>
<td width="45%" align="right">
<if condition="$thread[title]">
<h3><!--VBSEO_PHRASE_1--></h3>
<else />
<if condition="$foruminfo[title]">
<h3><!--VBSEO_PHRASE_2--></h3>
</if></if>
</td>
</tr>
</table>
<else />


LinkBack URL
About LinkBacks







Reply With Quote