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.
dashboard: adding a new group
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');
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');
0
Comments
$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]