Questions tagged [symfony-sonata]

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

The goal of the Sonata Project is to provide an e-commerce framework solution based on the Symfony2 framework. Think of it as a toolkit based on Symfony2 components to make building e-commerce sites easy and fun!

http://sonata-project.org/about

599 questions
0
votes
0 answers

Symfony Sonata 3x upgrade error

I updated my symfony sonata from 2.x to 3.x and now getting this Context error: CRITICAL - Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("An exception occurred while executing 'SELECT…
user4242771
0
votes
1 answer

Sonata model display

I have 2 entities, job and invoice. Invoice can have many jobs. Job can have one invoice. So far so good. When it comes to creating the invoice on the create screen i ask them which company only, this is because i don't want to give them a huge…
Kevin
  • 383
  • 5
  • 16
0
votes
1 answer

How to divert the SonataAdminBundle for both admin and manager

I would like to know the basic idea guideline. I am managing entity by SonataAdminBundle for now and get used to it. I would like to make progress step forward. I want to make both admin and user edit the entity by sonataadminbundle [For example] I…
whitebear
  • 11,200
  • 24
  • 114
  • 237
0
votes
0 answers

sonata admin list - sort field containing IP addresses

I want to sort a list in Sonata Admin which contains IP-Addresses (Version 4) (other contains IPv6). Is there any change to sort it? Current sort: 172.24.0.1 172.24.0.200 172.24.0.4 172.24.0.5 Correct…
Atreides78
  • 577
  • 1
  • 7
  • 22
0
votes
0 answers

Symfony Sonata Admin - Multiple Dashboards

is it possible to get multiple Admin Dashboards within one project? Like: /admin/ got all stuff my admin can do /user/ got only user stuff /mod/ part for my moderator Actually i only have /admin/ with full administration dashboard. I don't want to…
cRsakaWolf
  • 85
  • 1
  • 14
0
votes
1 answer

Custom routing Sonata

I'm working on a small project and for that I need a CMS. After some searching I found Sonata CMS, that is build on top of Symfony2. It's running quite good, and must say that it is a nice bundle. But now i'n running in to a small issue. I've…
MadHouse
  • 31
  • 7
0
votes
0 answers

Can't generate new routes in Sonata Admin

I'm struggling to make a custom action in Sonata Admnin, I followed the guide Sonata documentation and tried to copy the code from another of my projects where it worked fine. My Admin class is: namespace BlogBundle\Admin; use…
Dario PP
  • 3
  • 3
0
votes
2 answers

sonata AdminBlockServiceInterface deprecations for clear installation of symfony 2.8 + sonata 3.10

I have clear installation of symfony 2.8 + fos user 2 + "sonata-project/admin-bundle": "^3.10" and see some strange deprecations This class is deprecated since 3.2 and will be removed with the 4.0 release.Use…
Yehor
  • 6,203
  • 3
  • 20
  • 28
0
votes
0 answers

sonata_type_date_picker somehow makes -1 day after saving entity

Did someone experience this? I have date in datepicker. https://monosnap.com/file/MfiUeANHvBjQjypTfW3jZqBbxKKCRU After saving: https://monosnap.com/file/9nLR0yRYfccCVoGcRHkR1KST1zIUMJ And everytime like this! edit: Guys, somehow problem was related…
0
votes
2 answers

How can I add thumbnail of an image in sonata admin listmapper

I don´t know how to preview a small image in my listmapper in admin class of an entity. I only see a link to the edit form of the picture, but I want to see a thumbnail of the picture. This is my entity:
SensacionRC
  • 595
  • 1
  • 13
  • 30
0
votes
1 answer

Symfony sonata make make formmapper item editable with logical condition

I have a very small problem with symfony but I simply don't now how to start. I now keep changing when I'm coding, never finishing an actual thing. protected function configureFormFields(FormMapper $formMapper) { $formMapper ->add('id') …
SilentLucidity
  • 340
  • 1
  • 16
0
votes
1 answer

Roles for Sonata Admins

I am making use of SonataAdminBundle without SonataUserBundle, but with FOSUserBundle only. The reason is because I use Symfony 3, and SonataUserBundle doesn't work there. Now, I have 24 Admin services. I need to modify only one Admin Class so that…
Mentos93
  • 581
  • 1
  • 7
  • 28
0
votes
1 answer

How to configure sonata user bundle to get the result in the documentation

I want to have the same result in documentation Sonata symfony but look what I have after debugging some error. If u have any idea how to solve these errors please help me:
user6942996
0
votes
0 answers

How to set array and asserts in SonataAdmin with a MongoDB

I have a project with symfony2, sonataAdmin and MongoDB. I have a variable that I am using with collection type to map to MongoDB. But I want to use in two different forms. In one form it will be accepted multiple choices. In the other only one…
Matheus Oliveira
  • 587
  • 3
  • 10
  • 33
0
votes
2 answers

Sonata Admin + FOS User Bundle - add captcha to login form

I'm looking for a way to add captcha to Sonata User Bundle login form (and the validation of captcha of course!). I couldn't find literally anything about using captcha in Sonata User Bundle, so I hope someone already been doing that and could…
pzaj
  • 1,062
  • 1
  • 17
  • 37