369 search results for EasyAdmin

Hey Yacine R. There will be a new course about EasyAdmin, but I can't say you any exact eta on it. Sorry for that =) Keep watching for any updates! Cheers! ...
Hey Gaetano S. The `createListQueryBuilder` is not a Doctrine method, it's a EasyAdmin method which creates the query builder for the "List" view. I believe the new name for that method is `createIndexQueryBuilder()` Cheers! ...
MolloKhan
MolloKhan
Read Full Comment
Hey Brent I think you should set the userId in the `preFlush` action. I believe there is something in the middle of EasyAdmin workflow that is overriding your values Cheers! ...
MolloKhan
MolloKhan
Read Full Comment
Hem, i forgot... I'm using 'normal forms' to feed my database with each other entities so... Can i tell EasyAdmin to use a custom Controller only for this custom entity form and only this one ? ...
Horaaay! I got it! Last part of this link. https://symfony.com/doc/master/bundles/EasyAdminBundle/integration/fosuserbundle.html Adding this line in the config file inside the "form" label in my case. easyadmin: -> entities: -> User: -> form: -> form_options: { validation_groups: ['Profile'] } ...
// ... lines 1 - 2
{% block item_actions %}
{% set _show_actions = easyadmin_get_actions_for_show_item(_entity_config.name) %}
// ... line 5
{% set _request_parameters = { entity: _entity_config.name, referer: app.request.query.get('referer') } %}
{{ include('@EasyAdmin/default/includes/_actions.html.twig', {
actions: _show_actions,
request_parameters: _request_parameters,
translation_domain: _entity_config.translation_domain,
trans_parameters: _trans_parameters,
item_id: _entity_id
}, with_context = false) }}
{% endblock item_actions %}
See Code Block in Script
A Global Export Action

There are actually three different types of actions in EasyAdmin. The first consists of the normal actions, like Add, Edit, Delete, and Detail. These operate on a single entity. The second type is batch actions, which ...

10:13
Hi, believe it or not, I still haven't figured out how to resolve this issue. I have updated my symfony version to 6 and EasyAdmin 4, but I cannot seems to be able to set the twig template. In My ...
Alessandro-D
Alessandro-D
Read Full Comment
Controlling the Formatted Value

... be tiny avatars. Actually, EasyAdmin has a field that's made specifically for avatars. It's called AvatarField! Back in our code, yield AvatarField::new() and pass it avatar: Yes, we do temporarily have two fields for ...

4:23
Custom Controller Generating Admin URLs

The final step to building our custom EasyAdmin action is to... write the controller method! In QuestionCrudController, all the way down at the bottom, this will be a normal Symfony action. You can pretend like you're ...

5:43
Multiple Cruds for a Single Entity

... stopped now, you might be thinking: Wait a second! Both of these menu items simply point to the Question entity. How will EasyAdmin know which controller to go to? This definitely is a problem. The truth is that, when we ...

7:32
Permissions

... link is gone, but if someone sent me this URL, then I could still access this. So that is still a problem. Though, at the very least, a user wouldn't be able to guess the URL, because EasyAdmin generates a signature ...

6:35
Deep Field Configuration

One other property that we have inside of User is $roles, which actually stores an array of the roles this user should have: That's probably a good thing to include on our admin page. And fortunately, EasyAdmin has an ...

7:54
Controlling the Dashboard Menu

... .. but run that controller through the admin section. This can be useful if you have a custom controller but want to leverage some of the EasyAdmin tools from inside it. If you just want to link to a page, use linkToUrl ...

5:55
Override Controllers

... this: in the EasyAdmin directory, copy AdminController and rename it to UserController. Then, remove the function. Use the "Code"->"Generate menu" - or Command+N on a Mac - to override the preUpdateEntity() method. And ...

7:11
Installation and First Admin

... terminal, open a new tab, and paste: composer require javiereguiluz/easyadmin-bundle While Jordi is downloading that package, let's keep busy! Copy the new bundle line, find app ...

5:56
Hey Entwickler , Yes, sounds correct. Or maybe you even can implement Mobile App which is a wrapper for browser, so you will load this entire EasyAdmin dashboard, then you don't need to implement API endpoints at all ...
... ) You return the `KeyValueStore` from the controller D) A listener from EasyAdmin is called after your controller. It grabs your return value (the `KeyValueStore`) - https://github.com/EasyCorp/EasyAdminBundle/blob/4.x ...
weaverryan
weaverryan
Read Full Comment
Hello I am trying to localize the EasyAdmin, and it is going well so far. However, I have one big problem that I can not resolve. To change the title of the index page in EasyAdmin to be as I want it, I use ...
Hey Tupolev, In this chapter: https://symfonycasts.com/screencast/easyadminbundle/dashboard - we configured the minimal role that's required to access the EasyAdmin pages. As you can see, we configured it for ...