PDA

View Full Version : Adding Link to Community Links Menu


medicalforums
10-31-2009, 05:44 AM
How do I add a link to community links drop down menu
I tried tweaking the navbar template but it didn't work
Any ideas!

medicalforums
11-09-2009, 03:30 AM
I am trying this but it's not working
<if condition="$show['communitylink'] AND $show['popups']">
<td class="vbmenu_control"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
<else />
<if condition="$show['memberslist']">
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
</if>
<if condition="$show['quick_links_groups']">
<td class="vbmenu_control"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
</if>
<td class="vbmenu_control"><a href="Link URL">Link Text</a></td>

</if>

Any idea how to insert the link?

Lynne
11-09-2009, 03:34 AM
Is anything showing up? Is anything showing up in the source code? What you wrote should work if you are in the <else /> condition which means you would also see the Members List and Social Groups links.

medicalforums
11-09-2009, 03:43 AM
Nothing is showing up
the members list, the contacts and friends, the social groups are there but the added code is not showing?

Also the code is not showing up in the source code!

ShawneyJ
11-09-2009, 05:12 AM
medicalforums, you are trying to add your link in the wrong place, the link does not go in the nav buttons bar code.

in your navbar find:

<tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
</if>

and put your new link under that eg:
you could add:
<if condition="$show['memberslist']">
<tr><td class="vbmenu_option"><a href="LINK URL">LINK NAME</a></td></tr>
</if>

medicalforums
11-09-2009, 05:55 AM
medicalforums, you are trying to add your link in the wrong place, the link does not go in the nav buttons bar code.

in your navbar find:

<tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
</if>

and put your new link under that eg:
you could add:
<if condition="$show['memberslist']">
<tr><td class="vbmenu_option"><a href="LINK URL">LINK NAME</a></td></tr>
</if>

Thank you very much!
Finally I added my link :)