You can add CMS menu items to an individual site's CMS by adding a CustomSideBarMenu class to the site's config folder.
[path_to_site]/config/customsidebarmenu.class.php
The class will be structured as follows
<?php
class CustomSideBarMenu {
public static function updateSidebar($registry){
$registry->addSideBarMenuItem(
'example' ,
array(
'view_area' => 'example' ,
'path' => '/admin/example' ,
'title' => 'Example' ,
'tooltip' => 'Example custom menu item' ,
'icon' => 'glyphicon glyphicon-education' ,
'priv' => '' ,
'submenu' => array (
array (
'view_area' => 'examplesubmenuitem1' ,
'path' => '/admin/example/examplesubmenuitem1' ,
'title' => 'Example Sub Menu Item 1' ,
'tooltip' => '' ,
'priv' => ''
) ,
array (
'view_area' => 'examplesubmenuitem2' ,
'path' => '/admin/example/examplesubmenuitem2' ,
'title' => 'Status Report' ,
'tooltip' => 'Example Sub Menu Item 2' ,
'priv' => 'EXAMPLE_PRIV'
)
)
) ,
$after=null ,
$before='document'
);
}
}
?>
$menu_id (string)
Lowercase a-z,_ : Unique id for the menu area
$menu_structure (array)
$after (string)
Specific item id in the existing menu which this will appear after, or null.
$before (string)
Specific item id in the existing menu which this will appear before, or null.