Announcement

Collapse
No announcement yet.

How could I get a secondary navbar to work?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How could I get a secondary navbar to work?

    I'd like to have a secondary navbar towards the bottom of my SHOWTHREAD but I want to modify it slightly from the regular navbar so just inserting a second $navbar is my last resort.

    I want to code it as...

    Code:
    <!-- breadcrumb, login, pm info -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    	<td class="alt1" width="100%">
    
    			<table cellpadding="0" cellspacing="0" border="0">
    			<tr valign="bottom">
    				<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
    				<td>&nbsp;</td>
    				<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
    			</tr>
    			<tr>
    				<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
    			</tr>
    			</table>			
    
    	</td>	
    	
    	
    		<td class="alt2" valign="top" nowrap="nowrap">
    		<div class="smallfont">
    <div class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></div>
    		</div>
    		</td>
    		
    
    	
    </tr>
    </table>
    But I'm assuming that the reason this doesn't actually work is I'm just generating results from anywhere.

    I've already created a custom template navbar2 and put

    Code:
    eval('$navbar2 = "' . fetch_template('navbar2') . '";');
    in global_start with the plugin manager and added $navbar2 in SHOWTHREAD

    What step am I missing?

  • #2
    This might help you...

    http://www.vbulletin.org/forum/showt...=Second+navbar

    Comment


    • #3
      Originally posted by loaf View Post
      I appreciate that link. Unfortunately that mod is for 3.5 and I'm running 3.6. I searched around on there and even tried one possible solution, but it still did not probably feed the thread stucture.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X