symfony-sonata Questions
4
Solved
I have entity class Page with column type=integer. When I do:
<service id="sonata.admin.pages" class="Main\ProgramBundle\Admin\PageAdmin">
<tag name="sonata.admin" manager_type="orm" gr...
Interact asked 10/10, 2012 at 20:47
6
Solved
I need to parse some configurations parameters from my config.yml such as enabled languages. But when i try to do that by using the normal symfony method: $this->container->get('my_params'); ...
Outfield asked 1/9, 2012 at 0:37
3
I have some immutable attributes on my entity to administrate with sonata-admin bundle.
I want to show them in the edit-view of the entity, but don't want to provide any mechanism to change it (e....
Ramp asked 16/9, 2013 at 8:22
3
Solved
I'm trying to set up an Admin as a child of an other Admin in Sonata Admin Bundle.
I have 2 Admin classes:
CategoryAdmin
This class contains the following method
protected function configureSi...
Periphrastic asked 20/2, 2015 at 18:55
5
Solved
How would I create a doctrine_orm_datetime_range filter in the Sonata Admin Bundle which uses the jQuery UI datepicker?
I tried the following, but it doesn't work:
protected function configureDat...
Kirkendall asked 21/1, 2013 at 16:58
4
Solved
How can I disable the search feature in Sonata Admin Bundle, in order to not show the search input field in the upper menu?
Devinna asked 18/3, 2014 at 22:7
3
Solved
In admin class:
protected function configureFormFields(FormMapper $formMapper) {
$formMapper
->add('name', 'text')
->add('description', 'text')
;
}
I don't know how I can before "name"...
Altdorf asked 22/1, 2014 at 18:33
3
I'm currently facing a challenge with SonataAdminBundle, one-to-many relationships and file uploads. I have an Entity called Client and one called ExchangeFile. One Client can have several Exchange...
Togetherness asked 30/11, 2012 at 15:46
5
Solved
Is there any way to show total count of collection on list view? Imagine that there is a user that can have many links. How can I show total links count on list view?
Evelinaeveline asked 19/2, 2016 at 11:45
3
Solved
So, in edit action of Sonata Admin I'm trying to display different form fields depending on create or edit context.
Maybe some background first..
I have a Gallery entity and a CoverPhoto entity b...
Scarificator asked 21/11, 2012 at 18:32
7
i followed this doc to install SonataMediaBundle but i got this error:
PHP Fatal error: Class 'Application\Sonata\MediaBundle\ApplicationSonataMediaBundle' not found in /var/www/znata.com/app/AppK...
Afterlife asked 5/9, 2012 at 0:4
3
I uploaded some files using the SonataMediaBundle but when i wanted to add another, i got that error.
Have you any idea ?
this is the stack error:
in /var/www/znata.com/vendor/symfony/symfony/sr...
Tella asked 5/9, 2012 at 21:9
4
Solved
how can i set default value in sonata admin bundle
the data option is missing in configureFormFields method
protected function configureFormFields(FormMapper $formMapper)
{
$formMapper
->add...
Circumcision asked 11/5, 2012 at 6:0
7
I've been tring the last days to make SonataMedia works with Symfony 2.0.16... with no success. Googling around seems like no much people use that bundle or there's a tutorial or an how-to that I'm...
Tinsmith asked 18/8, 2012 at 20:25
7
Solved
I am using SonataAdminBundle (with Doctrine2 ORM) and I have successfully added a file upload feature to my Picture model.
I would like, on the Show and Edit pages, to display a simple <img src...
Entrammel asked 6/7, 2012 at 16:38
1
I want to generate a small form inside a Sonata Admin show template. What I have done so far is creating the function in the custom CRUD for that specific entity (order) that extends from Sonata's ...
Dix asked 28/7, 2016 at 11:28
4
Solved
I have a Merchant entity with the following fields and associations:-
/**
* @ORM\ManyToMany(targetEntity="Category", inversedBy="merchants")
*/
public $categories;
/**
* @ORM\ManyToMany(target...
Micrometry asked 12/4, 2012 at 6:57
2
Solved
I'm having problems creating my form for creating a course. This is a part of my database scheme for which I'm trying to create a form:
So which I'm trying to do is create a course where I can c...
Kazachok asked 7/2, 2016 at 20:34
2
First of all, I'm not sure if this is a Sonata issue or a Symfony2 one, this is the first time I'm working with Sf2 forms to edit a relationship.
Here's the problem:
I have two classes, let's cal...
Crusade asked 10/8, 2013 at 0:31
2
I've created a custom Sonata page
Simple route
medapp_adminStreamCommands:
path: /admin/stream
defaults: { _controller: MedAppBundle:VideoChat/VideoChat:adminStreamCommands }
Controller that...
Jonasjonathan asked 17/11, 2015 at 12:15
2
Probably should be titled: "SonataMediaBundle - where's the missing howto?".
I've made some admin backend with sonataAdminBundle and sonataDoctrineORMAdminBundle (and some other), most of the thin...
Exemplificative asked 17/7, 2012 at 16:3
7
Solved
I need to install the SonataUserBundle to be able to install the SonataNewsBundle.
I followed the installation Tutorial step by step but i got this error :
./app/console sonata:easy-extends:gener...
Hepplewhite asked 6/9, 2012 at 19:39
0
What I want to do is to optimize my database by removing unnecessary fields from ProductTable.
My application is based on Sonata E-commerce. I want to remove the "shortDescription" field from the ...
Rockery asked 19/6, 2015 at 6:40
3
Solved
I installed several of the Sonata bundles (user, admin etc) on my Symfony 2 app but after using them for a while, I decided I didn't like them and wanted to remove them.
I've updated my composer.j...
Paget asked 24/7, 2013 at 19:33
2
I extended the user bundle from the Sonata project with Sonata EasyExtends bundle.
It is placed under src/Application/Sonata/UserBundle by default
Now I want to customize the extended class and ad...
Vertu asked 26/12, 2012 at 14:32
1 Next >
© 2022 - 2024 — McMap. All rights reserved.