Adding sub menus under dashboard main window

Permalink 1 user found helpful
Hey,

im trying to add some sub menus in dashboard main window's drop down shortcut menu. any tips?

for the record i've added some single pages in dashboard and i wanna have sub menus. it's concrete5 5.5.2

robic
 
andrewsturm replied on at Permalink Best Answer Reply
If you are working with a package, you can put it in your install function.
public function install() {
     $pkg = parent::install();
     //what ever install code you need....
     //Install your dashboard page
     Loader::model('single_page');
     SinglePage::add('/dashboard/sitemap/robic_single_page_type', $pkg);
}

Change the path of the SinglePage::Add method to suit your needs!
robic replied on at Permalink Reply
robic
you mean it's automatically shown every single pages under current root in the drop down menu. so that's it. thanks by the way.