Questions tagged [sonata]

The Sonata Project is an open source set of bundles which are built on top of Symfony2.

The Sonata Project is an open source set of bundles which are built on top of Symfony2 PHP Framework. It's majorly based on the community work around the globe and uses the most known bundles released by:

FriendsOfSymfony KNPLabs Symfony CMF and so much more...

The complete list of bundle can be found here

Related tags

715 questions
-2
votes
1 answer

How add verifications before update dados of an item using framework symfony?

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 on 'UPDATE' button. I'm using Symfony and the existing methods in CRUDController. Is there any…
-2
votes
2 answers

"Enabled from" on a new Sonata Page Bundle site is invalid

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 with the bundle to choose the "enabled from" date. The picker creates this date: May 27, 2021,…
-2
votes
1 answer

sonata admin-bundle in Symfony 3.4

I'm using the following command: composer requires sonata-project/admin-bundle but it is installing the latest version of sonata which is not compatible with Symfony 3.4 i am getting the following: Problem 1 - Installation request for…
user14098389
-2
votes
1 answer

Unable to install sonata/ecommerse on Symfony 4.1

Unable to install sonata/ecommerse on Symfony 4.1 composer require sonata-project/ecommerce:dev-master ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Restricting…
-2
votes
1 answer

SonataAdmin does not show the left side menu, nor the links that the "admin.users" or the "admin.people" should have

The problem is that I can use SonataAdmin, I am loaded and I can use the CRUD, but the menu on the left shows only "sonata project". I know I can modify the template by default and add links to custom drivers, but right now I do not need that, what…
Jano CL
  • 69
  • 11
-2
votes
1 answer

The association \Entity\Specialists#images refers to the owning side field Application\Sonata\MediaBundle\Entity\Media#spec which does not exist

class Media extends BaseMedia /** * @var Specialists * * @ORM\ManyToOne(targetEntity="Specialists", inversedBy="images") * @ORM\JoinColumns({ * @ORM\JoinColumn(name="spec", referencedColumnName="id") * }) */ private $spec; class…
-2
votes
1 answer

How to design the relations for a mall project?

The relation image I have three tables goods、category and brand, the category has many goods,the brand also has many goods.I have two cases below: 1、The relation between goods and category is "manyToOne",defined the relation between goods and brad…
liam
  • 25
  • 9
-3
votes
1 answer

CALCUL WITH CONSTRUCTOR IN ENTITY SYMFONY

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 : $calcul = $ a + $b ; here is my entity class National { /** * @var int */ …
-3
votes
2 answers

Add basic ordinary number in the list view

We have integrated the Sonata bundle for our project. We have a requirement to put the ordinary number as the very first field in the list. Items in the list view should be listed by number like I did under column Number on following example Number…
Milos
  • 543
  • 8
  • 15
-4
votes
1 answer

When to use a symfony Bundle and When to use my own code?

1) I just want to know how to use SonataBundle ? 2) And when to use any other Bundle , and when to create my own code ? Thanks
1 2 3
47
48