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 to install SonataAdminBundle on Wamp?

I am try to install Sonata Admin Bundle on WAMP . To begin, add the dependent bundles to the vendor/bundles directory. Add the following lines to the file deps. [SonatajQueryBundle] git=http://github.com/sonata-project/SonatajQueryBundle.git …
rahul tripathi
  • 321
  • 2
  • 7
  • 18
0
votes
1 answer

Symfony2 - Integrating Sonata in existing project

New to Symfony2. I followed several tutorials to install & configure Sonata with FOSUser and I generated a SonataUser bundle. SonataAdmin seems to be designed to run on it's own in terms of templates. Now I have an existing project and I'd like to…
Pierre de LESPINAY
  • 44,700
  • 57
  • 210
  • 307
0
votes
1 answer

Symfony2 - bin/vendors install - Cannot import resource config.yml

Following the installation instructions, I added #depts [SonataAdminBundle] git=git://github.com/sonata-project/SonataAdminBundle.git target=/bundles/Sonata/AdminBundle version=origin/2.0 And #app/config/config.yml sonata_block: …
Pierre de LESPINAY
  • 44,700
  • 57
  • 210
  • 307
0
votes
1 answer

Sonata Admin Bundle 2 admin page for 1 entity

I'm trying to create 2 admin page for 1 entity, but patterns are the same: php app/console route:debug dis_codes_companies_list ANY /admin/mobispot/discodes/discode/list dis_codes_companies_create ANY …
Sergei Zherevchuk
  • 562
  • 1
  • 5
  • 14
0
votes
1 answer

Could not load type "filter" in SonataAdminBundle

I recently did a vendors/update and now my sonata admin is broken with the following error: Symfony\Component\Form\Exception\FormException: Could not load type "filter" (uncaught exception) at…
Debian
  • 107
  • 1
  • 3
  • 13
0
votes
3 answers

Symfony2 Sonata Admin Error

I recently did a vendors/install and now my sonata admin is broken with the following error: Item "roles" for "" does not exist in SonataAdminBundle::standard_layout.html.twig at line 92 Here is the twig code: {% if app.security %} {% for role in…
Shawn Northrop
  • 5,826
  • 6
  • 42
  • 80
0
votes
1 answer

Symfony2 Sonta Admin bundle doesn't work

So I have been working with the sonata admin bundle the last two days. I have followed the instructions exactly @ http://sonata-project.org/bundles/admin/2-0/doc/reference/installation.html This is the error I am…
0
votes
1 answer

empty values in SonataAdminBundle

I learn SonataAdminBundle with this tutorial: http://sftuts.com/doc/jobeet/en/the-admin-generator but instead of: I have empty values: Also in form, I have only submit button, but if I click this button then I have error: PDOException:…
Tony Evyght
  • 2,385
  • 6
  • 20
  • 19
0
votes
1 answer

sonata admin bundle acl-class-field and acl-object-field

How can i setup ACL with class-field-scope in sonata admin bundle Setting up the ACL with the SonataAdminBundle has been straightforward so far. Now I would like to dig a bit deeper. But I can not find any documentation…
Anil Gupta
  • 2,329
  • 4
  • 24
  • 30
0
votes
1 answer

Sonata Admin Bundle Error opening jQuery Dialog

I am creating a CMS with Symfony2 and SonataAdminBundle. When I put this: ->add('tags', 'sonata_type_model', array('expanded' => true)) I get the + button but when I click the button I get JS error: "Object [object Object] has no method…
Mauro
  • 1,447
  • 1
  • 26
  • 46
0
votes
1 answer

Setup SonataNewsBundle to handle media in posts

Installed both SonataMediaBundle, SonataNewsBundle and SonataAdminBundle (and much more but these matter). When posting a news item via the admin I choose to use the markdown configured as bellow. sonata_formatter: formatters: markdown: …
Roel Veldhuizen
  • 4,613
  • 8
  • 44
  • 78
0
votes
2 answers

Install SonataNewsBundle

I learn Symfony 2. I would like have example with SonataAdminBundle. I found: http://sonata-project.org/bundles/news/2-0/doc/reference/installation.html but this haven't first point. i found: [SonataAdminBundle] …
Tony Evyght
  • 2,385
  • 6
  • 20
  • 19
0
votes
1 answer

Sonata change default format_date

I have installed the SonataIntlBundlebundle. The default format_date results in a format like day-number month-name year. {{ date_time_object | format_date }} => '1 août 2011'Source Now, I want to change this default to…
Roel Veldhuizen
  • 4,613
  • 8
  • 44
  • 78
0
votes
1 answer

Symfony 2, overwriting bundle view (TWIG) SonataAdmin

I'm wondering how to extends views in twig across bundle. I'm using SonataAdmin bundle, which provides it's own twig views for list rendering: CRUD/base_template.html.twig CRUD/base_list.html.twig (extends above twig) ... It also has a config…
LEM01
  • 871
  • 3
  • 15
  • 23
0
votes
1 answer

Symfony2 SonataAdmin: "Access Denied" Exception when trying to extend SonataUserAdmin

I need to extend SonataUser to set a field called isAdmin to true when a user is being created from the backend. I have different User groups for ADMIN => (can create admin users and perform CRUD on other entities) and STAFF => (can perform CRUD on…
Amit
  • 3,644
  • 9
  • 38
  • 49
1 2 3
39
40