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

How do I change Add button & Search labels in list view in EasyAdmin

How do I change Search & Add labels in List view ?
mysiar
  • 430
  • 1
  • 5
  • 14
2
votes
2 answers

how to remove property label in new and edit actions?

I use the easyadmin bundle in my symfony app for backend management. I'd like to remove the label from some fields in the edit and the new view. I tried to use the same behaviour as in formbuilder : form: fields: - {property: toto,…
Pierrick Rambaud
  • 1,726
  • 1
  • 20
  • 47
2
votes
3 answers

Set easyadmin_autocomplete Select Null by default. Symfony

I would like to know if there is any way to put null value by default in the easyadmin_autocomplete select. The first item in the list is selected and filled with data from database but i need a null value by default and setted automaticly. The goal…
Oscar
  • 1,929
  • 3
  • 16
  • 31
2
votes
0 answers

Symfony - add boolean action field

I disabled delete action button for my user list entity and now I am trying to set my 'enabled' boolean field from my entity instead of it. I tried something like: entities: User: class: AppBundle\Base\Entity\User controller:…
Jhonas
  • 29
  • 2
2
votes
2 answers

Manage the menu permissions in EasyAdmin

I'm using Symfony 4 and I would like to show / hide my entities in the menu depending on the roles, but it's impossible. For example, I tried to override the menu.html.twig of EasyAdmin file but it didn't work. It only works if I modify a loop…
Valentin Harrang
  • 1,081
  • 2
  • 17
  • 34
2
votes
1 answer

Many to Many with Join Table in EasyAdminBundle

I'm trying to get a smooth admin interface similar as if when two entities are associated by a many-to-many relationship. I need the join table to define additional information like rank. I don't want to display the jointable entity on the backend,…
Jeff
  • 143
  • 2
  • 11
2
votes
0 answers

Symfony EasyAdminBundle view from multiple tables

I need to create a view ( list ) with data from multiple tables. I use EasyAdminBundle and i have : * @ORM\Table(name="orders") class orderes{ /** * @var int * * @ORM\Column(name="order_id", type="integer") * @ORM\Id *…
Aranfea
  • 31
  • 1
  • 7
2
votes
2 answers

How can I add a repeated type field in easy admin bundle

I'm trying to add a password repeat using easy admin bundle but I'm not quite sure how to do it. I have these two properties in my entity /** * @var string * * @Assert\NotBlank() * @Assert\Length(max="4096") */ private $plainPassword; /** *…
dashred
  • 131
  • 1
  • 12
2
votes
1 answer

Symfony3 + FosUserBundle + EasyAdminBundle

I want to create a new form for creating new users. I created my own AdminController with these functions: public function createNewUsersEntity() { return $this->container->get('fos_user.user_manager')->createUser(); } public function…
user3461461
  • 306
  • 2
  • 3
  • 16
2
votes
0 answers

Symfony2 : Embedded form validation is not triggered when editing

Symfony version : 2.8.5 Context: I have an entity Restaurant which has a OneToOne relationship with an entity Coordinates which have several relations with other entities related to Coordinates informations. I my backend I create a form related to…
Cruz
  • 695
  • 8
  • 21
2
votes
1 answer

Prevent sorting results by a particular field in a EasyAdmin backend

Good afternoon, I'm a beginner in symfony so I started to learn about bundles. I installed and configured EasyAdminBundle and it works fine. My question is how can I disable "sort" in one field? I mean when I click on the sort button nothing…
Anis Abida
  • 33
  • 1
  • 4
2
votes
1 answer

Symfony 3 - Form collection field error displaying outside the field

Could anyone tell me why error related to form collection is displaying outside the particular field and how to move it to place like you see in image included below? Code of this field: /** * @Assert\Valid * @ORM\OneToMany( * …
Jazi
  • 6,569
  • 13
  • 60
  • 92
2
votes
1 answer

How to hide/show a menu in EasyAdminBundle programatically

I read the EasyAdmin documentation and see a lot of customization, but nothing like programatically set the showing menus. I'm thinking for example hide or show the menus depending of the user logged roles. Any help will be appreciated.
abdiel
  • 2,078
  • 16
  • 24
2
votes
1 answer

Inaccessible value for foreign key in easyadmin listing (Symfony 2.8)

I have used easyadmin bundle in my Symfony application. I have user and role entity. I have used role id as an foreign key for user. I am showing user listing in admin section using easy admin. But for role it show me "Inaccessible" as an value in…
Ashwin
  • 450
  • 1
  • 6
  • 17
2
votes
2 answers

Symfony Easyadmin - How to add a custom action near "btn action-new"?

I would like to add a custom action near " btn action-new" in list page. I try: entities: Pratiquant: class: AppBundle/Entity/Pratiquant actions: - {name: 'fichePresence', type: 'method', action: 'fichePresence',…
1
2
3
8 9