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

How can I display User Management links on the Sonata Admin dashboard?

I'd like to render the links to user management and ACL editing on my SonataAdmin Dashboard. What do I need to add to sonata_block section? Also, what are these 'cms' and 'admin' contexts? sonata_block: default_contexts: [cms] blocks: …
0
votes
1 answer

Change theme(css) for SonataAdminBundle

I cannot install RaindropSonataThemeBundle cause it only supports SonataAdminBundle up to 2.1.*@dev and I am using a newer version. How can I install a different twitter bootstrap theme as Sonata reads its css from the vendor directory.
0
votes
1 answer

What is "sonata.block.container.types" parameter in SonataPageBundle

I installed SonataPageBundle via composer: "sonata-project/page-bundle": "dev-master", After installation and making all steps from official tutorial I encountered this error: …
Enlightened
  • 239
  • 2
  • 13
0
votes
1 answer

Sonata editable block

Is there a way to make a Sonata Block editable? I have seen that there is a method named buildEditForm mentioned in the docs (http://sonata-project.org/bundles/block/master/doc/reference/your_first_block.html#form-edition), but I don't know how this…
Guillermo Gutiérrez
  • 17,273
  • 17
  • 89
  • 116
0
votes
1 answer

Integrate non-admin page in sonata admin project

I need to put a non-admin page/view inside my admin project build using Sonata Admin Bundle. Is there a correct or standard way to integrate an independent page within the admin, make it accesible trough the dashboard or menu, and display it using…
Guillermo Gutiérrez
  • 17,273
  • 17
  • 89
  • 116
0
votes
0 answers

How to create liste filter in sonata admin bundle

What's the equivalent for the following function, but for datagridFilters in sonata admin bundle? ->add('users', 'entity', array( 'class' => 'AcmeHelloBundle:User', 'property' => 'username', ));
0
votes
1 answer

sonata admin how to show/hide form using radio buttons and javascript

i am using sonata admin, i like to show/hide my form using radio buttons and javascript my code : protected function configureFormFields(FormMapper $formMapper) { $formMapper ->with("Group 1") ->add('A',…
0
votes
1 answer

Sonata Notification doctrine backend mail not being sent

I have the sonata notification setup and I tried to use the sonata admin mailer consumer however when in doctrine mode the notification gets consumed but the e-mail doesn't get sent at all, when I set it to postpone or runtime mode the mail does get…
nienaber
  • 189
  • 2
  • 12
0
votes
1 answer

Symfony2: Class not found error

Im getting a Class not found error on this line: new \Placas\FrontendBundle\Form\Type\ChoiceOrTextType(), I have the class at Placas/FrontendBundle/Form/Type. Here are the codes, the instantation: namespace Placas\FrontendBundle\Admin; use…
tirenweb
  • 30,963
  • 73
  • 183
  • 303
0
votes
1 answer

Error Sonata Classification Bundle

I have installed Classification bundle and also install its depends bundle, I have configured all steps from http://sonata-project.org/bundles/classification/master/doc/index.html But I have faced following error PHP Fatal error: Class…
0
votes
1 answer

Position Up Down in onfigureListFields Sonata

I have followed this: http://sonata-project.org/bundles/admin/master/doc/cookbook/recipe_sortable_listing.html And when click up or down button then show me : The controller for URI "/admin/xxx/frontend/abc/1/move/down" is not callable. I don't…
Kunwar Siddharth Singh
  • 1,676
  • 6
  • 33
  • 66
0
votes
1 answer

Sonata Page Bundle - creating a page

I'm trying to use Sonata Page Bundle and I've installed it without any issues but I'm having trouble adding blocks to pages. When I looked at Sonata Sandbox I can create page and when I click View Page it will generate blocks automatically which it…
user3233563
  • 43
  • 1
  • 10
0
votes
1 answer

Unable to properly install SonataBluePrintBundle

I couldn't install SonataBluePrintBundle, I used: $ git submodule add https://github.com/sonata-project/BluePrintBundle.git (with different file destination:example: src/Bundle/BluePrintBundle) but when i try to delete cache (or do anything else) i…
0
votes
1 answer

Trying to make a list to change order elements in Sonata

I have followed this: http://sonata-project.org/bundles/admin/master/doc/cookbook/recipe_sortable_listing.html And when trying to list my items I get this: PHP Fatal error: Call to a member function getLastPosition() on a non-object…
tirenweb
  • 30,963
  • 73
  • 183
  • 303
0
votes
0 answers

Twig variables appear to be out of scope in over-ridden Sonata template

I am trying to override the default standard_layout.html.twig file from the SonataAdminBundle. I want the replacement template to extend my ::base.html.twig. Essentially, I have cut and pasted Sonata blocks into the appropriate blocks in my base…
dnagirl
  • 20,196
  • 13
  • 80
  • 123