Since Sonata\PageBundle\Admin\BlockAdmin is @final i should not extend from it. In UPGRADE-3x.md i can see that i should use decoration. I am trying ...
Since Sonata\PageBundle\Admin\BlockAdmin is @final i should not extend from it. In UPGRADE-3x.md i can see that i should use decoration. I am trying ...
I have a date that I'd like to set as the default value the current date and most of the posts suggest to add the 'data' => new \DateTime() but the ...
I have an application using Sonata Admin for the back-office. If I use disabled => true it will remove the field from being editable in edit and c ...
I wish to to fetch the current logged in user in the MessageAdmin class with the command to set the current user as sender of the message but it's ...
I need to check information when updating an item, to know if saving is allowed or not. This must be done in the backend after the user have clicked o ...
I am using Symfony 4.4 and sonata-admin 3.107 I created a voter for one of my admin pages (SampleAdmin). And I registered it in my services: Bu ...
I have a Symfony 5.4 project using sonata-project/admin-bundle 4.9 and sonata-project/user-bundle 5.0.0-rc.1 and I want to let only the users with rol ...
My code: This creates a new car object and save it into my database, and that works fine, however in this part of the code I'm calling and translat ...
I have $form and some fields in the different tabs, that works okay, I want to add a field into the form if this condition is not NULL What I did, ...
I'm removing my hairs over this one. On sonata admin 3.x I had this filter in the list view, providing a select box with the options described. prot ...
From version 3.102.0 of SonataAdminBundle a lot of methods in AbstractAdmin are marked as final. The most important (in my opinion) "checkAccess" and ...
The getContainer method doesn't seem to exist in version 4.0.0-rc.1 ...
. Answers to this question are eligible for a +200 reputation bounty. P ...
Using Sonata's Easy Extends tool, I am extending the MediaAdmin base class and overriding the existing service for that class. In doing so, I've conve ...
I have a brand-new installation of Sonata Page Bundle. I am creating a Site entity using the Site admin screen. I use the DateTimePicker that comes w ...
I'm a fan of sonata projet, but setup e-commerce module is quite insane I have created new product provider, i follow all theses steps https://sonata ...
I'm trying to show preview image with Sonata Admin Bundle 3 version but I can't do it. I get this error in RecipeAdmin.php: Could not load type "file" ...
i need to do a calcul in an entity with symfony (sonata) like : i have 3 labels in my entity with doctrine and i need to save in database a result of ...
i'm using sonata admin, i tried to override max length allowed for name of categorie I have an entity MyEntity who extend Application\Sonata\Classifi ...
I am building a very simple billing system for a media company using Sonata that includes Payment entities for paying Reporters. The only purpose of a ...