PDA

View Full Version : adding link to navbar drop down menus


huskermax
12-07-2010, 05:51 PM
Below is the code for the Community drop down menu. I would like to add a link to this that links to a HTML page outside of the bulletin board file folder. I have tried to just copy and past one link code and change the info but that did not work. I have searched around on here and see were you can add tabs or the add today's posts link but not how to add any link you want in any menu you want.

This is from the navbar Template.

<vb:if condition="$show['communitylink']">
<li class="popupmenu">
<a href="javascript://" class="popupctrl" accesskey="6">{vb:rawphrase community}</a>
<ul class="popupbody popuphover">
{vb:raw template_hook.navbar_community_menu_start}
<vb:if condition="$show['quick_links_groups']">
<li><a href="group.php{vb:raw session.sessionurl_q}">{vb:rawphrase social_groups}</a></li>
</vb:if>
<vb:if condition="$show['quick_links_albums']">
<li><a href="album.php{vb:raw session.sessionurl_q}">{vb:rawphrase pictures_and_albums}</a></li>
</vb:if>
<vb:if condition="$bbuserinfo['userid']">
<li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li>
</vb:if>
<vb:if condition="$show['memberslist']">
<li><a href="memberlist.php{vb:raw session.sessionurl_q}">{vb:rawphrase members_list}</a></li>
</vb:if>

huskermax
12-08-2010, 07:56 PM
bump

I have found other threads for the other versions on how to do this but the code looks different then 4.0.8 which is what I have.

It the set up any different?

Lynne
12-08-2010, 09:56 PM
Just add this at the end (before the </ul>)
<li><a href="http://www.external.com/link.php">Link Name</a></li>

huskermax
06-03-2012, 02:05 PM
How do I do this in 4.2. I can't find any of the code for this.

--------------- Added 1338743223 at 1338743223 ---------------

Never mind you can do it in the new navigation settings.