Questions tagged [symfony2-easyadmin]

EasyAdmin is a Symfony bundle that lets you create administration backends for Symfony applications with unprecedented simplicity.

EasyAdmin lets you create administration backends for Symfony applications with unprecedented simplicity.

Features

  • CRUD operations on Doctrine entities (create, edit, list, delete).
  • Full-text search, pagination and column sorting.
  • Fully responsive design (smartphones, tablets and desktops).
  • Translated into tens of languages.
  • Fast, simple and smart where appropriate.

Useful links

130 questions
2
votes
1 answer

Symfony EasyAdmin Bundle one to many

Is there anyway to do one to many relations in EasyAdmin bundle in symfony2? So far i get my User working, but not other entities with one to many relations. I have database in doctrine with MySQL.
Jotosha
  • 183
  • 3
  • 13
2
votes
0 answers

Filter a list with Symfony2 and the EasyAdminBundle

I'm using this bundle to get a fast and viable administration. Everything is fine but I'm not able to do this. When the user is logged in and goes to the "User List" I need to filter the other users he can see (I've got a User-Department…
Astaroth
  • 763
  • 6
  • 25
1
vote
2 answers

How to display string in property field instead of integer from database?

Database stores gender field as smallint. Easyadmin render fields based on entity properties. I won't simply put a string eg. "Male" instead of 1. I tried to override AdminController and override methods like createEditForm() and…
Dave
  • 31
  • 2
1
vote
0 answers

EasyAdminBundle: configuration problem in production environment

I've been using EasyAdminBundle in a symfony 4 application generated using flex (composer req admin) for quite some time now. Recently I added a few entities to the existing EasyAdmin-configuration. In my development environment they show up as…
DaFe4u
  • 75
  • 1
  • 5
1
vote
1 answer

EasyAdmin - password update form gives error on empty password

I'm using standard Symfony 4 User entity, created by make:auth and EasyAdmin 2.0.4. When editing existing User, password field is blank (which is good). On submitting existing User edit form, when leaving password field blank, I get following…
cromdev
  • 27
  • 1
  • 7
1
vote
2 answers

Easy Admin: How to customize a field template in the form view?

I need to customize a form view field (edit form field) in EasyAdmin bundle. Here's how it's done in the list view: - { property: 'images', template: 'custom_template.html.twig'} How to implement the same thing in the form view (edit mode)? Custom…
7cart project
  • 317
  • 1
  • 4
  • 13
1
vote
0 answers

Remove entity not working inside the form easy admin bundle

I have this code : {{ form_start(form, {'attr': {'class': 'form-vertical edit-form', 'id': 'new-users-form', 'data-view': 'new'}}) }}
GPiter
  • 779
  • 1
  • 11
  • 24
1
vote
2 answers

vich uploader and easy admin images not showing

I'm following the tutorial from (https://symfony.com/doc/master/bundles/EasyAdminBundle/integration/vichuploaderbundle.html) I was able to upload the image, but it´s not appearing in the list view of easy-admin. It goes like…
1
vote
1 answer

EasyAdmin: "Unable to transform value for property path XY: Expected a string."

When clicking the "Edit" link in EasyAdmin's list view of an entity that contains a field with type="date", I'm getting this error message: Unable to transform value for property path "birthday": Expected a string. I have this in my entity: /** *…
Thomas Landauer
  • 7,857
  • 10
  • 47
  • 99
1
vote
1 answer

DQL filter in query with EasyAdminBundle

I have a doctrine entity Page that has a property category. I use EasyAdminBundle to modify the pages. There are 4 fixed categories and I want a separate list view for each category. In the menu bar, each category should be displayed separately. I…
Wouter C
  • 533
  • 1
  • 6
  • 21
1
vote
1 answer

How do you show value as a title in easyadmin bundle?

in config.yml edit: title: 'editing %firstname% ' fields: - {property: firstname, type: string} - {property: lastname, type: string} - {property: email,…
Megumin
  • 191
  • 3
  • 15
1
vote
0 answers

How to add a twig link in the url of an easyadmin menu?

How to add a twig link in the url of an easyadmin menu? easy_admin.yml : design: menu: - ... - { label: 'Language', icon: language, children: [{ label: FR, url: 'easy_admin/Language/fr.html.twig'}, { label: EN, url:…
Paul
  • 352
  • 3
  • 6
  • 17
1
vote
1 answer

Override Method or EventListener: stop creation process and show warning just the first time in EasyAdmin?

I am using EasyAdmin in my SF 3.3 project but I need to achieve something different from how EasyAdmin has been built for. Take a look at the following picture: As you might notice a user can be in more than one GroupingRole. Having that…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
1
vote
1 answer

Easy admin : collection of forms

I am trying to build a simple backend application based on EasyAdmin. The ORM is Doctrine. I have set up 3 entities : * Entity A has a unidirectional many-to-many relation to entity B * Entity B has a one-to-one relation to entity C * Entity C has…
1
vote
1 answer

How to configure easyadminbundle on Symfony 4?

According to http://fabien.potencier.org/symfony4-best-practices.html there are no/limited use cases for a config.yml file. Where should I put the easy_admin configuration for entities it manages with symfony 4?
andig
  • 13,378
  • 13
  • 61
  • 98
1 2
3
8 9