Top "Symfony-sonata" questions

The goal of the Sonata Project is to provide an e-commerce framework solution based on the Symfony (version 2 and 3) framework.

Doctrine inserting in postPersist event

I want add new Feed item on entity persist and update. I write this event listener (postUpdate is same): public …

symfony doctrine-orm symfony-sonata
Sonata Admin Bundle: DatePicker range

How would I create a doctrine_orm_datetime_range filter in the Sonata Admin Bundle which uses the jQuery UI …

datepicker symfony-2.1 jquery-ui-datepicker symfony-sonata sonata-admin
How to use Ajax within Sonata Admin forms?

I have a Merchant entity with the following fields and associations:- /** * @ORM\ManyToMany(targetEntity="Category", inversedBy="merchants") */ public $categories; /** * @…

ajax symfony symfony-sonata sonata-admin
How to display the current picture above the upload field in SonataAdminBundle?

I am using SonataAdminBundle (with Doctrine2 ORM) and I have successfully added a file upload feature to my Picture model. …

php file-upload symfony symfony-sonata
How to get container instance in sonata Admin class?

I need to parse some configurations parameters from my config.yml such as enabled languages. But when i try to …

symfony symfony-2.1 symfony-sonata sonata-admin
setting default value in symfony2 sonata admin bundle

how can i set default value in sonata admin bundle the data option is missing in configureFormFields method protected function …

symfony symfony-sonata
How can I create a custom DataGrid filter in SonataAdmin

I have an entity Transaction with numerous status codes. I want the user to be able to see these status …

symfony symfony-sonata
Symfony2 Sonata Admin show attribute only as a readyonly text

I have some immutable attributes on my entity to administrate with sonata-admin bundle. I want to show them in the …

php symfony sonata-admin symfony-sonata
Extending Sonata User Bundle and adding new fields

I am extending the Sonata User Bundle and creating some extra fields in the new user entity. These fields will …

php symfony symfony-sonata
SonataAdminBundle form field query

In SonataAdminBundle in Admin class I cannot make an orderBy on ManyToMany field. For example Author and Book. Author can …

symfony symfony-sonata sonata-admin