PDA

View Full Version : New Navbar Buttons


municipol
08-11-2008, 11:04 PM
I'm kinda desperate right now, as I have absolutely no idea to have external links in the navbar. I've seen this done countless times on other vb boards, but all the info I've found is either outdated or doesn't exactly answer what I'm asking. Could somebody please help a n00b?

Lohgan
08-11-2008, 11:48 PM
Hey there,

Go into Your Admin CP > Styles & Templates > Style Manager then

Select the drop down menu on the style you want to edit the navbar on and press "Edit Templates".

Next go down the list untill you see "Navigation / Breadcrumb Templates" double click it then go into the "Navbar" template.

In the code block go down and look for

<!-- nav buttons bar -->

Now decide where you want the new link, say you want it after UserCP

Look for

<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>

After </if> Add

<td class="vbmenu_control"><a href="HTTP://WWW.YOURLINKGOESHERE.COM">REPLACE ME</a></td>

If you want it to only show up for a logged in user then simpy add this instead


<if condition="$show['member']">
<td class="vbmenu_control"><a href="HTTP://WWW.YOURLINKGOESHERE.COM">REPLACE ME</a></td>
</if>


Hope this helps.