Questions tagged [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

431 questions
-1
votes
1 answer

How to get the currently logged in User in EasyAdmin

How can I fetch the currently logged in User from anywhere within the Backend code? For example I have an EventSubscriber class and want to fetch it from there. How can I do that w/o the help of i.e. AbstractController?
-1
votes
1 answer

EasyAdmin automatically set up a user_id when adding a new entry to an entity

I'm using easyadmin with my online learning website project for school. Teachers can add formations, sections which are attached to formations, and lessons which belong to sections. I set up three cruds for each, and queries so the logged in user…
hzlh
  • 29
  • 6
-1
votes
1 answer

Symfony EasyAdmin3: Argument 1 passed must be an instance of App\Entity

I use easyadmin for Symfony (I am a beginner), I'm stuck on this problem: Argument 1 passed to App\Entity\MyOrder::setCarrier() must be an instance of App\Entity\Carrier or null, int given, called in…
-1
votes
1 answer

Why my Symfony form doesn't show errors while being rendered from Controller?

I am using EasyAdminBundle and wanted to create change password functionality for admin panel. Everything works correctly, however there is a problem, that form doesn't show errors, when RepeatedType fields are not the same and when oldPassword is…
Kuba5822
  • 25
  • 6
-1
votes
1 answer

Print selected rows in Symfony EasyAdmin CRUD

I'm learning Symfony and EasyAdmin, my next task on the list is to add a button which will print (generate PDF) selected rows from the table. I've checked in the EasyAdmin docs if there maybe is a tutorial or more info, but without luck.…
Tim
  • 87
  • 1
  • 8
-1
votes
1 answer

How to add condition in AssociationField in Symfony EasyAdmin

I'm building book management system. where each books have many chapters. When I filter the list chapter by book I want to when I create new chapter the association field book hidden or at least filtered by the current filter (book).
Noor Wachid
  • 39
  • 1
  • 4
-1
votes
1 answer

EasyAdminBundle count and statistique

I want to add to the administration page of EasyAdminBundle (/ admin), the number of registered users for example, or the number of registered restaurants (for example). (statistics from my business layer) or even add statistics of the number of…
-1
votes
1 answer

Installation error of EasyAdmin in Symfony 5 app

I tried to install EasyAdmin bundle in my Symfony 5 app: composer require easycorp/easyadmin-bundle And got an error: Using version ^3.1 for easycorp/easyadmin-bundle ./composer.json has been updated Loading composer…
yesnik
  • 4,085
  • 2
  • 30
  • 25
-1
votes
1 answer

How can i create reusable blocks in EasyAdmin Symfony

I have an entity page and i would like to add blocks of different types and display them in the form when i select one (Image, text and image or just text). All dynamically without being pre-defined in the administration (like a…
Odingar
  • 1
  • 1
-1
votes
1 answer

easy admin 3 filter AssociationField

I'm struggling to find a solution to filtering the Assocation field list in edit view. Situation: User has allowedSuppliers ManyToMany to Supplier Website has enabledSuppliers ManyToMany to Supplier Based on the user roles I want to only show a…
-1
votes
1 answer

Easy Admin 3. How to control which objects are returned from the database depending on user role?

I have 3 roles: ROLE_SUPER_ADMIN, ROLE_ADMIN and ROLE_USER. Both Super_Admins and Admins can view users but a user with ROLE_ADMIN shouldn't see a user with ROLE_SUPER_ADMIN. I've made a voter but I don't know where to use the annotation on a…
AS G
  • 1
  • 2
  • 1
-1
votes
1 answer

issues installiing easyAdmin

I am trying to install EasyAdminBundle on symfony 4.1 and i get the error below. i have tried with " composer require easycorp/easyadmin-bundle" but i still get the same error Problem 1 - Installation request for easycorp/easyadmin-bundle ^2.3…
sonwa
  • 1
  • 1
-1
votes
1 answer

Replace "label.form.empty_value" of expanded entity type

I want to render a relation/association field (i.e. EntityType) in EasyAdmin as radio buttons. My setup: - property: 'group' type_options: expanded: true What I'm getting is: o label.form.empty_value o Admin o User How can I replace…
Thomas Landauer
  • 7,857
  • 10
  • 47
  • 99
-1
votes
1 answer

Symfony 4 easy admin how to create common action?

How to create common action like 'new' which will be do one action, for example send ajax request for get some kind of information. I'm trying add action via config/packages/easy_admin.yaml easy_admin: entities: Users: list: …
pembrock
  • 113
  • 1
  • 10
-1
votes
2 answers

Installation EasyAdmin on Symfony4

I try to install EasyAdminBundle on fresh install of Symfony4 from this doc https://symfony.com/doc/current/bundles/EasyAdminBundle/index.html But I can't access to the back-end, I'm getting 404... I just type composer require…
D. Schreier
  • 1,700
  • 1
  • 22
  • 34
1 2 3
28
29