View Full Version : Add Links to Navbar
XikkeN
05-10-2011, 05:42 AM
Before you tell me, I've read the articles about it. Everything in the vB4 section explains how to do much more complicated things (navbar links with additional options with dropdowns, etc) And the vB3 tutorials don't help as things are very different.
Anyway, I want to add external links to my navbar. Mainly to my site's front page, our twitter, and our facebook fanpage. I can't find a tutorial to do this, and I'm sure it isn't terribly difficult.
mysticla
05-10-2011, 10:28 AM
see the example here http://vocland.com
How to do it:
1. go to "Styles & Templates"- "Styles Manager" - "Edit template"
2. search "Navigation / Breadcrumb Templates" - "navbar"
3. find in templates
<li class=""><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>
4. you can add this code below it
<li class=""><a class="navtab" href="album.php"{vb:raw session.sessionurl_q}">Upload Gambar</a>
<li class=""><a class="navtab" href="faq.php"{vb:raw session.sessionurl_q}">Tutorial Forum/FAQ</a>
<li class=""><a class="navtab" href="private.php"{vb:raw session.sessionurl_q}">Private Message/PM</a>
Lynne
05-10-2011, 03:55 PM
Or, plugin using locationprocess_templates_complete
$template_hook['navtab_end'] .= '<li><a class="navtab" href="/frontpage.html">Front Page</a></li>' ;
$template_hook['navtab_end'] .= '<li><a class="navtab" href="http://page.com/twitterpage.html">Twitter Page</a></li>' ;
$template_hook['navtab_end'] .= '<li><a class="navtab" href="http://page.com/facebookpage.html">Facebook Page</a></li>' ;
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.