I have a website running 2.4 and have been trying to tweak the interface slightly. (I know this is easier in ss3 but the server doesn't have the right php5 version). Anyway, I was trying to rename some tabs with
remove_menu_item / add_menu_item
as described at http://nerdpress.org/2013/05/28/rename-admin-menu-items-in-silverstripe/
Whenever I use the add_menu_item function, the Assets and Security tabs just display
"[User Error] singleton() Called without a class". Am i mising something?
CMSMenu::remove_menu_item('CMSMain');
CMSMenu::add_menu_item('CMSMain','Pages and News','admin/');