Category: sonata-admin

Sonata Admin – route prefix with a parameter

I would like to add a {slug} parameter before /admin prefix so I could have /{slug}/admin on all sonata admin routes. So far I set up app/config/routing_sonata.yml like this admin: resource: ‘@SonataAdminBundle/Resources/config/routing/sonata_admin.xml’ prefix: /{slug}/admin _sonata_admin: resource: . type: sonata_admin prefix:…

Delete with Ajax From PersistCollection (SonataAdmin)change of ids when saving in the database

I have an Array PersistCollection list of Sonata , after delete action with an Ajax request (remove tr in the DOM part),when i control the table the ids are correct but after saving the data,(page of edit) the ids in…

why does SonataAdminTreeBundle not show the navbar for filters and viewmodes?

we work on a projekt with symfony 4 and sonata. we are using the SonataAdminTreeBundle to manage our Categories. basically everything works fine – but the menu from sonata were the datagrid filters are located (aka nabvbar) is not showing…