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
2 answers

SonataUserBundle override model

How to delete unwanted fileds in the entity/model: facebook, twitter, bio, website from the Model/User.php ? I try to ovveride the Model but it doesn't work. I succed to override the entity, i added some new property, and it work, but want to delete…
ibasaw
  • 493
  • 1
  • 7
  • 22
0
votes
1 answer

overridden SonataUserBundle not working properly

i had install SontaUserBundle i follow the document n i created now what i want to add oneToMany relationship inside user class /** * Application\Sonata\UserBundle\Entity\User; * @ORM\Table(name="fos_user") * @ORM\Entity */ class User extends…
Anil Gupta
  • 2,329
  • 4
  • 24
  • 30
0
votes
1 answer

Symfony2 Forms Generated with CRUD - Can I automatically use Sonata Admin with the existing forms?

I have forms generated with generate:doctrine:crud, they work perfectly, but do not look very nice. While looking for something different I found Sonata Admin module. It is really cool with different features, buttons and a very nice layout. My…
erickva
  • 513
  • 6
  • 17
0
votes
1 answer

Provide a parameter for a custom template in SonataAdmin fields

I know how to set a custom template for a field in SonataAdminBundle. The following topic answer a question about that: Symfony SonataAdmin Templates But, how can I pass a parameter to use in that template?
Waiting for Dev...
  • 12,629
  • 5
  • 47
  • 57
0
votes
2 answers

Unable to register extension "sandbox" as extensions have already been initialized

I have a problem installing Sonata project demo. After following this... I get the following problem: Unable to register extension "sandbox" as extensions have already been initialized. in…
dardarlt
  • 1,199
  • 11
  • 12
0
votes
2 answers

How to resize columns and center content in sonata admin bundle

How to resize columns and center content in sonata admin bundle?
korvinko
  • 700
  • 3
  • 10
  • 23
0
votes
1 answer

How to Implement SonataAdmin forms in own controllers and templates

How to implement SonataAdmin forms and lists into own controllers with different logic and templates?
wersoo
  • 304
  • 3
  • 10
0
votes
1 answer

Undefined index in Sonata/DoctrineORMAdminBundle/Guesser/FilterTypeGuesser.php while configuring Datagrid Filters wihin SonataAdminBundle

i'm trying to use datagrid filters with my simple entity: // MyBundle/Entity/Application.php /** * * @ORM\Entity * @ORM\Table(name="application") */ class Application extends BaseEntity { /** * @var integer $_id * * @ORM\Id …
MingalevME
  • 1,827
  • 1
  • 22
  • 19
0
votes
1 answer

Sonata Admin Bundle overwrite views

Sonata default use for list index: SonataAdminBundle:CRUD:list.html.twig This i use for all modules in Admin. I have modules: Job and Category. How can i set for module Job for example: SonataAdminBundle:CRUD:listJob.html.twig and for…
0
votes
1 answer

How to configure default values in SonataMediaBundle?

I installed SonataMediaBundle With SonataAdminBundle, and everything works fine. but labels of forms and filters looks bad. Something like : filter.label_name. How can i set the label to "name" ? I think that this is done to make easy integration…
skonsoft
  • 1,786
  • 5
  • 22
  • 43
0
votes
1 answer

Inheritance of symfony2 translations

I am using SonataUserBundle for extending user managing functionality. Also i use this bundle model file as base for registration form in frontend. On the another hand i want to add some other translations to FOSUserBundle.pl.yml - for example for…
Luke Adamczewski
  • 395
  • 3
  • 14
0
votes
1 answer

Symfony2 Entity doctrine2 don't update field

I have this entity: Profile.php /** * LoPati\BlogBundle\Entity\Profile * * @ORM\Table(name="profile") * @ORM\Entity * @Gedmo\TranslationEntity(class="LoPati\BlogBundle\Entity\ProfileTranslation") */ class Profile { /** *…
0
votes
1 answer

Missing 'format_date' Twig filter in SonataNewsBundle

I've just installed SonataNewsBundle. I encounter this exception while trying to go _http://localhost/news: The filter "format_date" does not exist. Did you mean "format_file" in SonataNewsBundle:Post:archive.html.twig at line 20 The question is…
Enlightened
  • 239
  • 2
  • 13
0
votes
1 answer

Symfony2 : Sonata Admin Bundle. What is the persistence Service?

I'm deseperatly trying to make the Admin Bundle For several days now, and I'm stuck at some point. I decided to re-start from the begining. I've installed all the vendors conrrectly, and now, I can already access the admin dashboard by visiting the…
Miles M.
  • 4,089
  • 12
  • 62
  • 108
0
votes
1 answer

Formatting choice list options in entity form type

i'm using Entity form type, choice based, in order to provide a choice list inside a Sonata Admin form. What i would like is to use a child property to display the collection of elements inside the choice list. Does any one knows how to provide…
peris
  • 943
  • 3
  • 20
  • 33