PDA


View Full Version : Path in navbar menu from links page


libertate
11-25-2005, 12:05 AM
I have made a modification to my navbar as follows:
<tr align="center">
<td class="vbmenu_control">
<a href="$vboptions[homeurl]?$session[sessionurl]"> Home </a>
</td>
<td class="vbmenu_control">
<a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> Forums </a>
</td>
<td class="vbmenu_control">
<a href="$vboptions[homeurl]/links/index.php?$session[sessionurl]"> Links </a>
</td>


This will give me [Home] [Forums] [Links] on the navbar every page.

Well, every page except on the links/index.php and every other link based page the URL for the [Forums] is incorrect. It becomes "http://www.mysite.com/forum/http://www.mysite.com?".

On all other pages, the URL is properly "http://www.mysite.com/forum/index.php?".

Any thoughts?

Brian
11-30-2005, 05:50 PM
That's because the links directory replaces variables such as $vboptions[bburl] so that the breadcrumbs will have the correct links. If you use /forum (or whatever folder your forums are in) instead then that should take care of the problem.

libertate
12-01-2005, 05:39 PM
Thank you!