Log in

View Full Version : Second Navbar


Itworx4me
03-30-2007, 05:29 AM
Hello,

I am having issues with getting a second navbar added to my site. I am using the following code:

navbar2 template

<!-- 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%">
<if condition="is_array($navbits)">
<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>
<else />
<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>
</td>
</tr>
</table>
<br />
<!-- / breadcrumb, login, pm info -->



I have set up a plugin with the following info:
Hook location: Gobal Start

eval('$navbar2 = "' . fetch_template('navbar2') . '";');


Now it does put the template info where I want when I use $navbar2. It doesn't work correctly though. It doesn't pull the breadcrumbs into the page. If I hard code the template it works just fine. Where am I going wrong?

Thanks,
Itworx4me

Itworx4me
04-01-2007, 04:10 AM
bump

Itworx4me
04-02-2007, 09:58 PM
Well I hope eventually that someone will be able to answer the question....

Itworx4me
04-07-2007, 07:04 PM
I am now going for the longest un-answered thread. lmao

Itworx4me
04-12-2007, 11:45 PM
still hoping for an answer lol

Itworx4me
04-16-2007, 04:52 PM
bump

one of these days...lol

php4ever
04-18-2007, 05:44 PM
There is a plugin for this I'm positive.

~ Jared

cyberphr
04-18-2007, 07:23 PM
This has nothing to do with programming. It is design related.

Itworx4me
04-18-2007, 10:55 PM
wow I got excited for a minute that someone was actually going to help. But that didn't last long. lol

subzero06
04-19-2007, 01:49 AM
why dont you just install this mod
https://vborg.vbsupport.ru/showthread.php?t=104725

Itworx4me
04-19-2007, 04:16 AM
Because all I need is the breadcrumbs part of the navbar. Don't need all the other functions of the navbar.