Log in

View Full Version : Adding Navbar Links v3.6.0


smoknz28
09-11-2006, 09:38 PM
Hi gang newb here with editing php code.

I am currently running version 3.6.0 and I would like to know how I can add links in the navigation bar. For instance, I run a Photo Gallery and Classifieds through a 3rd party program. They both use my vb user database so it's pretty seamless when they go from one to the other.

I'd like to put these links under Quick Links.

Any help on this is greatly appreciated.

Thank you all,
Mark

Hornstar
09-12-2006, 07:56 AM
In your admincp go to Styles & Templates -> Style Manager -> Edit templates

Find the Navagation / Breadcrumb templates, and find navbar inside that.

find:

href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>


after that add:



<!-- Gallery -->
<td class="vbmenu_control"><a href="gallery.php$session[sessionurl_q]">Donate</a></td>
<!-- /Gallery -->

<!-- Classifieds -->
<td class="vbmenu_control"><a href="classifieds.php$session[sessionurl_q]">Donate</a></td>
<!-- /Classifieds -->




that wont add it under the Quick Links, but this will add it to the navbar and make it easier for members to find.

Just change gallery.php to the actual link and same with Classifieds.

hop I helped, I will try and do the Quick Links one, but have not successfully worked out how to do that yet.

smoknz28
09-12-2006, 01:35 PM
Thank you so much....I'll be working on this later today. ;)

Thanks again,
Gonzo

Worked great....I had also changed the text of the links from "Donate" to what they actually were.... ;)

Thanks again for your help on this.

Gonzo