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
0
votes
1 answer

Symfony 4 - Easyadmin and full package CKEditor

I'm trying to install the full package from CDEditor 4 to use it with easyadmin, but even if I manually install CKEditor, I keep the basic package on easyadmin. Actual CKeditor interface In my fos_ckeditor, I just have: fos_ck_editor: base_path:…
user11084147
0
votes
1 answer

EasyAdmin list action for current user

I'm trying to retrieve a list of objects from database where Entity.user = "current user". It's a ManyToOne relation between an Entity entity and a User Entity I tried to use the dql-filter option in the bundle config but couldn't find a parameter…
Salim Ben Aissa
  • 435
  • 1
  • 6
  • 21
0
votes
1 answer

EasyAdminBundle doesn't load assets

I am trying to set up Symfony project on prod server and everything works fine except this one thing. I am using EasyAdminBundle for admin panel and there is something like this: It looks like my assets didn't load at all. But I had all the files…
Eddy
  • 593
  • 8
  • 22
0
votes
1 answer

Show / hide option of menu depending some conditions

I want to show / hide an option from menu depending some field from user table. Exist a way to do that ? For example if user.isFirst() then hide option 'Product' from menu. easy_admin: site_name: 'dfg
HareaCostea
  • 145
  • 9
0
votes
1 answer

Vich uploader bundle: mapping doesn't exist

I need help to figure out why a VichUploaderBundle mapping doesn't exist. I'm using VichUploaderBundle with EasyAdmin and ORM doctrine. My vich_uploader.yaml file vich_uploader: db_driver: orm mappings: products: …
0
votes
1 answer

Show aggregate count of large number of entities in Symfony 3.4 Easy Admin bundle

I'm trying to show a count of related entities for an entity List view, but there's too many so it runs out of memory (it does a simple count($this->relatedEntities)) in the Entity. Any idea how/where I can override the ListController of…
Oli
  • 2,370
  • 2
  • 26
  • 42
0
votes
2 answers

EasyAdminBundle: how to redirect back to form

In the admin panel created with EasyAdminBundle, the administrator can create a new Booking. I want to add an availability check (via a service) before this new booking instance is persisted into the database. If this check returns false, the admin…
Helenesh
  • 3,999
  • 2
  • 21
  • 36
0
votes
0 answers

symfony easyadmin query_builder static method inject token_storage

I use symfony 3.4 and easycorp/easyadmin-bundle 1.17 I am trying to use a static function for the query_builder options: form: fields: ... - { property: 'customer', label: '', type_options: { query_builder:…
Johan Rm
  • 151
  • 1
  • 5
  • 17
0
votes
2 answers

Get FosUser authenticated to persist into Easy Admin Entity ( USER LOG)

I have An entity Product Manged By EasyAdmin, i ALSO USE fos UserbUNDLE for user Management. Everything works fine but when i add a new user in easyadmin i have a dropdown of user but i want to have automatically the authenticated user. I have…
mokas
  • 13
  • 8
0
votes
1 answer

How to add a logo in easyadmin?

I only managed to change the name, but I can not find on any forum the way to add with this name, a logo. Has anyone ever encountered this problem? easy_admin: site_name: 'My admin'
Paul
  • 352
  • 3
  • 6
  • 17
0
votes
1 answer

Symfony - Easy Admin Bundle configuration

I read the Bundle documentation, but I can't find how to change these labels: So, I found how to change the list.page_title, but I can't find about point 1, 2, 4, 5 on the image. Also, I can't find how to remove the ID column (field) from any list…
-1
votes
1 answer

Easyadmin redirect after update or save rows

I can't find a way to redirect after saving or updating a record. it always redirects me to index(list of records). Easy admin symfony. Thanks. Tried using a subscriber or overriding the update entity method but no result
user2412052
  • 9
  • 1
  • 1
  • 2
-1
votes
2 answers

Symfony choice type array : Unable to transform value for property path : Expected an array

First of all, I'm a new user of Symfony And actually I'm customing my form EasyAdmin with some fields and I have an issue with this one : ChoiceField::new('villa')->setChoices($villasChoices)->allowMultipleChoices() I get this error because of the…
johndoe80
  • 87
  • 10
-1
votes
2 answers

log out banned user in symfony?

How can I log out active session of banned user with Symfony? This is not working security: always_authenticate_before_granting: true this is error The security option "always_authenticate_before_granting" cannot be used when…
Sinan Tosun
  • 29
  • 1
  • 6
-1
votes
1 answer

Make URLS friendly

Actually i got easy admin, and my urls are looking like : /dashboardcrudAction=index&crudControllerFqcn=App%5CController%5CCrud%5CThemeCrudController&menuIndex=0&status_id=1&submenuIndex=-1 What can i do to make urls more user friendly ? Something…
F. Vandroy
  • 122
  • 2
  • 15