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
1 answer

InvalidConfigurationException installing Symfony2 CMF

Just getting into Symfony2 and I wanted to use the CMF bundle. I am following the cookbook here: http://symfony.com/doc/current/cmf/cookbook/editions/cmf_core.html When running composer.phar update I am getting this error: …
Carey Estes
  • 1,534
  • 2
  • 31
  • 59
0
votes
1 answer

symfony2 sonata page bundle error

How to install sonata page-bundle? My composer.json: "require": { "php": ">=5.3.3", "symfony/symfony": "2.3.*", "doctrine/orm": ">=2.2.3,<2.4-dev", "doctrine/doctrine-bundle": "~1.2", "doctrine/doctrine-migrations-bundle":…
Bogdan
  • 171
  • 3
  • 13
0
votes
2 answers

moving bundle from vendor to src directory

I installed SonataMedia in the vendor/ directory of my project using composer and everything was working fine. I wanted to move the bundle to the src folder to keep everything tidy.. is there any way to move bundle from vender to src directory?
Sagar PHP
  • 13
  • 4
0
votes
2 answers

Pluralization is not working on form's validation message in Symfony 2.3

I am using Symfony 2.3. I have created simple order form using $this->createFormBuilder in my controller. I am validating one Doctrine field with: /** * @Assert\Length(min=3) */ protected $name; However, upon validation fail, I get a duplicated…
0
votes
1 answer

Access to Doctrine in Entity

I have two Entity class: House and Car. in Entity House class i have method:
0
votes
1 answer

Dashboard template Sonata Admin Bundle weird

My dashboard in Sonata Admin is completely weird. I've removed the bundle from vendors and web. Update with composer (all dev-versions of sonata) and clear the cache. Still weird. erro http://img21.imageshack.us/img21/246/qgy8.png
Munir
  • 739
  • 2
  • 14
  • 38
0
votes
1 answer

How to change sonata admin bundle Group Permission names?

I'm using sonata admin bundle for my project. I cannot find how do I assign a readable name to the Group Permissions names. At the moment is shows as key value. [0 => ROLE_SONATA_ADMIN_ISSUE_CREATE] [1 => ROLE_SONATA_ADMIN_STATUS_DELETE] [2 =>…
Achintha Samindika
  • 1,944
  • 1
  • 20
  • 31
0
votes
1 answer

sonataNotificationBundle, emails getting stored to database but swiftmailer consumer is not triggered and no emails are sent

I have integrated sonataNotificationBundle, i configured backend to doctrine, emails are getting stored in database notification__message table but are not getting sent. How do I send emails from database using swiftmailer consumer. Below is the…
vishal
  • 3,993
  • 14
  • 59
  • 102
0
votes
1 answer

Unrecognized options swift_mailer under sonata_notification.consumers error

I am trying to use sonataNotificationBundle, I did all configurations as mentioned in documentation, but I am getting following error, Unrecognized options swift_mailer under sonata_notification.consumers Before that I was getting Unrecognized…
vishal
  • 3,993
  • 14
  • 59
  • 102
0
votes
2 answers

installing sonata page bundle

I have troubles while installing SonataPageBundle using composer. I am using this tutorial for how to install SonataPageBundle. I installed all the dependencies but when I type this "php composer.phar require symfony-cmf/routing-bundle"…
Jordi Kroon
  • 2,607
  • 3
  • 31
  • 55
0
votes
1 answer

Symfony2.2 and SonataProject

I am a newbie in Symfony2 and Php and I want to install Sonata project. In all tutorial I've found I do understand that I need to update the Composer.json, the kernel, the config ,etc. When once they talk about running a command like for example:…
KawtarHB
  • 179
  • 2
  • 2
  • 6
0
votes
1 answer

Render dynamic block name with Sonata Block Bundle

Does anyone know how to render a dynamically generated block name using the Sonata Block Bundle? An example of what I am trying to achieve is: page.html.twig:
{{ sonata_block_render({ 'name': '/content/blocks/{{ suffix }}' })…
newbie
  • 408
  • 1
  • 4
  • 14
0
votes
1 answer

Symfony 2 - Sonata Admin Role based security

With Sonata, I'm trying to use the role based security. I want to give a group, rights for listing, editing & creating users, so I created a role with ROLE_MANAGE_USERS: - ROLE_SONATA_USER_ADMIN_USER_EDIT - ROLE_SONATA_USER_ADMIN_USER_LIST …
Pierre de LESPINAY
  • 44,700
  • 57
  • 210
  • 307
0
votes
1 answer

SonataAdmin : how to manage roles?

how to manage roles in sonataAdmin ? i want to add new roles in the admin, and use it. how to display dashboard tables depends on users roles ? Exemple: want to display only some groups tables if users got a specific roles, don't want to show all…
ibasaw
  • 493
  • 1
  • 7
  • 22
0
votes
1 answer

SonataUserBundle override form edit profile

How to override the SonataUserBundle form edit profile ? Here the code config.yml # fos User fos_user: db_driver: orm firewall_name: main user_class: Application\Sonata\UserBundle\Entity\User profile: form: type:…
ibasaw
  • 493
  • 1
  • 7
  • 22