Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display top and side menu in SonataAdminBundle?

There are no documents talk about that. Please help me. Thank you

SonataAdminBundle with top menu and side menu

like image 369
HuyVu Avatar asked Feb 12 '13 16:02

HuyVu


1 Answers

Admin top menu is created automatically based on group item in admin service definition. All admin services can be grouped and are displayed in top menu.

Example (see group="sonata_page" where sonata_page is name of menu group):

Admin side menu can be created with configureSideMenu() method in your admin service. Example

like image 106
pulzarraider Avatar answered Sep 21 '22 18:09

pulzarraider