Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configure Menu in Sonata Admin Bundle

I try to configure a custom admin menu in the sidebad of my Sonata Admin Bundle, but i don't understand how to ?

Thanks

Djoo

like image 755
djoo Avatar asked Aug 13 '14 09:08

djoo


1 Answers

The sidebar nav doesn't have a specific configuration, it uses the dashboard config to be generated.

To see it, you must be logged in and the user must have ROLE_SONATA_ADMIN to see the sidebar nav.

https://github.com/antoinemineau/SonataAdminBundle/blob/master/Resources/views/standard_layout.html.twig#L181

A related issue is explained here: https://github.com/sonata-project/SonataAdminBundle/issues/2321#issuecomment-52756483

like image 131
HypeR Avatar answered Nov 02 '22 00:11

HypeR