Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Tabs..

edited July 2010 in Vanilla 2.0 - 2.8
How do I add an extra tab to the top of the page?

Comments

  • anyone?
  • MarkMark Vanilla Staff
    Where exactly do you want it added? In the main menu next to "discussions" and "activity", or above the discussion list next to "all discussions" and "bookmarked"?
  • edited October 2010
    Just add the following code in your theme where other menu items are added.
    Replacing the wordFriends with the page and pageurl
    $Sender->Menu->AddLink('Friends', Gdn::Translate('Friends'), '/friends', FALSE);

    the tabs are known as menu items.
  • Thanks Guys!
Sign In or Register to comment.