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.
Options

dashboard: adding a new group

edited September 2010 in Vanilla 2.0 - 2.8
Hello,

Is it possible to add a new group in the dashboard panel? I was hoping this worked but it just adds a link at the very end of the panel, without the "group"-html that the other groups use.

$Menu->AddLink('New group', T('Games'), '/settings/home', 'Vanilla.Categories.Manage');

Comments

  • Options
    TimTim Operations Vanilla Staff
    $Menu = &$Sender->EventArguments['SideMenu']; // AddItem ( GROUPNAME , GROUPTEXT ) $Menu->AddItem('Forum', 'Forum'); // AddLink ( GROUPNAME , LINKTEXT , LINKTARGET , LINKDISPLAYPERMISSION ) $Menu->AddLink('Forum', 'Media', 'plugin/fileupload', 'Garden.AdminUser.Only');

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    Thanks, that worked!
Sign In or Register to comment.