MyBB Community Forums
how to add a link in the menu - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.2 Series (https://community.mybb.com/forum-3.html)
+------ Forum: MyBB 1.2 General Support (https://community.mybb.com/forum-4.html)
+------ Thread: how to add a link in the menu (/thread-913.html)



how to add a link in the menu - 2xDj - 2004-10-24

i need to add a link in the blue bar where are also: Logout, User CP, Member List, Search, Help, Calendar, Home. I think i have to work it out in theme.mybb but im not sure.

please help


RE: how to add a link in the menu - Darren - 2004-10-24

In the Admin CP goto templates and expand the templates for the theme you wish to edit. Towards the bottom there are 3 templates toplinks, toplinks_admin, toplinks_member If you want the link to show for all users you will have to edit all 3 templates.

If you want it at after the Home link in each template

find

<li><a href="$settings[bburl]/index.php">$lang->toplinks_home</a></li>

and add after it

<li><a href="targetpage">linknamehere</a></li>

Hope this helps


RE: how to add a link in the menu - 2xDj - 2004-10-24

thank you, it works Toungue