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

SonataFormatter ivory_ck_editor toolbar doesn't show up

I use SonataFormatter with SonataAdmin. I can see the textarea but the toolbar doesn't appear. I can force the toolbar in runtime with the code bellow. Am i missing something ? CKEDITOR.replace( 'textbox id', { toolbar: [ { name: 'document',…
Sancho
  • 1,288
  • 2
  • 25
  • 50
0
votes
0 answers

How can getSelectConditionSQL() output a IN ('sonata.ecommerce_demo.product.travel') statement?

I have a pending project with Sonata e-commerce, and need to understand how it works. I want to manager product variation in Doctrine/mongoDB while leaving all the other data to Doctrine/MySQL. So I installed the sandbox with the demo part, and…
Ophiuchus
  • 515
  • 7
  • 17
0
votes
1 answer

Sonata sandbox 2.3 installation failed

I'm trying to install Sonata Sandbox, but theire is always a problem. When I launch the command: php composer.phar create-project sonata-project/sandbox:2.3.x-dev, or download the project with git and run a composer intsalll it ends by:…
Jaycreation
  • 2,029
  • 1
  • 15
  • 30
0
votes
3 answers

Symfony 2 Sonata admin list views do not display subclasses

Currently I cant get subclasses to appear in a list view using sonta admin bundle for symfony 2 I can get it working for create forms as per the advanced config page (http://sonata-project.org/bundles/admin/2-1/doc/reference/advance.html) but how…
0
votes
1 answer

SonataUserBundle overriding EditableRolesBuilder

Im trying to override EditableRolesBuilder in Security folder. I try to make same hierarchy in Application\Sonata\UserBundle\Security\EditableRolesBuilder which extends the base one Sonata\UserBundle\Security\EditableRolesBuilder from vendor but…
0
votes
1 answer

Using a custom view page for image preview in Sonata Admin in Symfony 2 project

I have the following admin system setup using Sonata Admin in my SF2 project. When I click "View Image" I want to show either a popup/overlay with the image, or if it's easier, a new page with the image. The route for this is configured as…
crmpicco
  • 16,605
  • 26
  • 134
  • 210
0
votes
1 answer

Sonata Admin+ACL-Different dashboard for different roles

Well I am trying to achieve this using sonata admin bundle+ fosuser+ ACL Three level of users –-normal user----staff----super admin When each user logs in each user is redirected to admin dashboard but shown only some admin items (listing) and user…
TheGooooogle
  • 263
  • 3
  • 11
0
votes
1 answer

SonataFormatterBundle not working

Been trying to get the creditor working on a Sonata Admin page, with no luck. Have followed the installation instructions and think i have everything covered: Composer.json "require": { "php": ">=5.3.3", "symfony/symfony": "~2.5", …
dantelo
  • 60
  • 8
0
votes
1 answer

Sonata Admin nested forms

Im using the Sonata Admin bundle for the back office of an ecommerce project. You can create brands, add collections, items, sub items and price. All of these elements are entities. It seems like, with sonata admin (using the 2.3 branch) I can't add…
thesearentthedroids
  • 588
  • 1
  • 7
  • 24
0
votes
1 answer

Default custom route on SonataORMAdmin list view

Refering to the SoanataORMAdmin's documentation, it is possible to change the default route of object links. By default, it's the edit route. I don't want it at all and need to change it to show without override all my admin class. What is the…
Soullivaneuh
  • 3,553
  • 3
  • 37
  • 71
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
0
votes
0 answers

sonata sandbox blocking the Symfony2 exceptions?

I'm trying to understand how works sonata sandbox... I have created a new route and trigged: php app/console sonata:page:update-core-routes --site=3 the landingpage was creaded successfuly, then : php app/console sonata:page:create-snapshots…
xus
  • 1
  • 1
0
votes
1 answer

Sonata Admin, edit entity inline

I'm using Sonata Admin and I have a question about the inline edition. I know there is an option ->add('adresse', null, array('editable' => true)) for edit directly in the table all informations. But in this case, adresse is a text field. How can I…
Clément Andraud
  • 9,103
  • 25
  • 80
  • 158
0
votes
1 answer

Sonata - Dyscriminator field

I want to use my dyscriminator field in a datagrid filter and when i us this i have the error : [Semantical Error] line 0, col 83 near 'type LIKE :t': Error: Class Djoo\MyBundle\Entity\Structure has no field or association named type Have you an…
-1
votes
1 answer

phpinfo() shows opcache.blacklist_filename file, but contents ignored

In my Symfony/Sonata application's php.ini file, I have opcache.blacklist_filename set to /usr/src/app/config/opcache-exclude.txt. In a phpinfo() call on my test server, that file shows up in the correct place. Here is the content of the…