PDA

View Full Version : Adding More Links to the "Community Links" Dropdown


2fast4ya
10-09-2009, 09:00 PM
How do i add more links to the community links drop down menu?

Lynne
10-09-2009, 09:25 PM
Find the template where the dropdown links are (most likely the navbar) and add lines under them. If the links are default, you would look for some lines like this:
<if condition="$show['communitylink']">
<!-- community link menu -->
<div class="vbmenu_popup" id="community_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[community_links]</td></tr>
$template_hook[navbar_community_menu_start]
<if condition="$show['quick_links_groups']">
<tr><td class="vbmenu_option"><a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
</if>
etc.....

You can either use that template_hook through a plugin, or just edit that code directly and add a line like this in the appropriate place:
<tr><td class="vbmenu_option"><a href="page.php$session[sessionurl_q]">Link Name</a></td></tr>