Rains
02-20-2005, 04:35 PM
Have followed instructions so far, and now trying to do this, but can't find location in my vb3 templates?
To integrate this hack with the rest of your site, include a link to
local_links.php:
- For example, you may want to include this in your forums main
navigation bar. To do do, access your board's admincp and edit
the navbar template. Find, e.g.
<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]"
accesskey="5">$vbphrase[faq]</a></td>
and then I need to insert:
<td class="vbmenu_control">
<a href="local_links.php?$session[sessionurl]">Links</a></td>
But when I do find it, where do I insert the above code? At the end?
Thanks.
noppid
02-20-2005, 04:38 PM
Make it look like this...
<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]"
accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control">
<a href="local_links.php?$session[sessionurl]">Links</a></td>
Or this...
<td class="vbmenu_control">
<a href="local_links.php?$session[sessionurl]">Links</a></td>
<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]"
accesskey="5">$vbphrase[faq]</a></td>
Depends on which side of FAQ ya want the link.
Joeychgo
02-20-2005, 05:58 PM
and you will find the navbar template in the Navigation/Breadcrumb Templates Folder and is the Navbar template within that folder
Rains
02-21-2005, 01:35 AM
Joeychgo, noppid, that advice was very helpful. I decided to put the "link" on the far left of my test board to give it a more pronounced position. Thanks for that quick and accurate response :)
Rains
02-24-2005, 08:20 AM
Uhg, I've finally managed to install vb advanced on that board but now the "Links" button on the nav bar on both portal and forum page don't work. I've been searching through the posts at vb advanced etc but can't see an answer to my problem. Would I need to change a path in the templates or in the vb php files?
Your earlier example helped me get the links in the place I wanted ok
<td class="vbmenu_control">
<a href="local_links.php?$session[sessionurl]">Links</a></td>
<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]"
accesskey="5">$vbphrase[faq]</a></td>
Thanks
Joeychgo
02-24-2005, 10:13 AM
I dont use all the conditionals for my links so im not sure. I just make a standard link.
Rains
02-24-2005, 01:04 PM
I dont use all the conditionals for my links so im not sure. I just make a standard link.
Okay thanks anyway.
Oh, when you say you don't use all the conditionals, but just make a standard link, could you just explain this a little more please. I think I know what it means but :confused: