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

Sonata is not working well in production mode

I'm using sonata adminBundle for my project and every thing is fine in localhost but when I host the application on the remote server, only the dev mode is response as expected when I want to delete a row of a childe in m-1 relation in production…
0
votes
1 answer

Advanced filters disappearing after filtering in Sonata Admin

I've installed Sonata Admin Bundle in my Symfony2 project. Here is my composer.json's require: "require": { "php": ">=5.3.9", "symfony/symfony": "2.7.*", "doctrine/orm": "~2.2,>=2.2.3,<2.5", "doctrine/dbal": "<2.5", …
George Irimiciuc
  • 4,573
  • 8
  • 44
  • 88
0
votes
2 answers

Symfony2 Sonata: No Entity Manager in Custom Class

I'm trying to create custom Form in Sonata-Admin and Im geting No entity manager defined for class School\ChildBirthBundle\Entity\DataChapter My code: namespace School\ChildBirthBundle\Admin; use Sonata\AdminBundle\Admin\Admin; use…
3sco
  • 1
  • 1
0
votes
1 answer

Symfony Sonata admin find by some field

I install SonataAdminBundle and create controller extends Admin and function configureFormFields, configureDatagridFilters, configureListFields. And in field list I use field image but I see only url for image, my image live in amazon S3 I want see…
shuba.ivan
  • 3,824
  • 8
  • 49
  • 121
0
votes
1 answer

Custom Home page sonata page

I create my custom controller for the page home. controller: class FrontPageController extends Controller { public function homeAction() { return $this->render('FrontPageBundle:Page:home.html.twig'); …
Mido
  • 41
  • 1
  • 4
0
votes
1 answer

Symfony2: How do i overwrite maxPerPage property in pagination for sonataAdminBundle?

I am using sonataAdminBundle pagination. There is this Sonata\AdminBundle\Admin\Admin class which has a property called $maxPerPage = 25; So how do i override this class in services.yml file so that all my other admin classes can have pagination…
0
votes
1 answer

Gedmo translatable / default locale and sonata admin bundle

I am currently using the sonata admin bundle with the sonata translation bundle and gedmo translatable to localize my entities, which generally works nice. I have a category table with a field "title" which I'm localizing to a "category_translation"…
dominikweber
  • 622
  • 1
  • 9
  • 23
0
votes
1 answer

Sonata SEO Bundle Site MAP

I am using sonata seo bundle and knp paginator bundle. My Question is When I added new custom static url like :-(www.symfony.in/blog) in our KNP Menu.It's added successfully. But When I run the :- php app/console sonata:seo:sitemap --scheme=http web…
Kunwar Siddharth Singh
  • 1,676
  • 6
  • 33
  • 66
0
votes
1 answer

Sonata admin enhanced view for security roles

In sonata admin the roles are based on admin services name with CRUD export and master permissions but the way it looks not so user friendly to create groups for others user or assign specific permissions to a user considering an example for sonata…
M Khalid Junaid
  • 63,861
  • 10
  • 90
  • 118
0
votes
1 answer

Sonata Admin - configureListFields - not working options template

I have Symfony 2.6.3 and Sonata Admin Bundle 2.3.1. I tried to change the template in my list: $listMapper ->addIdentifier('id') ->add('custom', 'string', array('template' =>'NewBundle::list_custom.html.twig')); } but this does nothing. The…
0
votes
1 answer

SonataPageBundle with mongodb

somebody has installed succesfully sonata page bundle with mongodb? We have a lot of trouble and seems that sonata page is not supported except with orm. Tnx all
cleaversdev
  • 459
  • 4
  • 11
0
votes
0 answers

Sonata Admin "Delete" action not working

When I click delete next to a row in sonata admin it doesn't delete the row. Say I'm trying to delete a press release, when I click the "delete" button on a press release the url changes to /pressreleases/3/delete and I get redirected back to my…
MikeOscarEcho
  • 535
  • 2
  • 12
  • 27
0
votes
1 answer

Sonata create custom action

I follow the guide to create: 1. a action of sonata admin http://sonata-project.org/bundles/admin/master/doc/cookbook/recipe_custom_action.html 2. a batch ax http://sonata-project.org/bundles/admin/master/doc/reference/batch_actions.html In my…
user1000652
  • 33
  • 2
  • 12
0
votes
1 answer

Override template of a Symfony BlockBundle SimpleBlock

I recently configured my website project to use Symfony CMF with Sonata Admin. I'm now populating my website with random editable simple blocks, but can't figure out the way to override their rendering template.
Codii
  • 873
  • 7
  • 18
0
votes
1 answer

sonata admin add richhtml editor to block content

I'd like to add ckeditor to content field in block admin. Here's what i did till now: added raw_content and content_formatter properties to my block modified buildEditForm in TextBlockService to this: public function buildEditForm(FormMapper…
nonab
  • 311
  • 2
  • 12