367 search results for EasyAdmin

Hmm, how are you telling EasyAdmin to use your form type? Also, let me see your CustomFormType code ...
MolloKhan
MolloKhan
Read Full Comment
{% extends '@EasyAdmin/default/list.html.twig' %}
// ... lines 2 - 8
{% block global_actions %}
// ... lines 10 - 11
{% if easyadmin_action_is_enabled_for_list_view('export', _entity_config.name) %}
<div class="button-action">
// ... lines 15 - 18
</div>
{% endif %}
{% endblock global_actions %}
See Code Block in Script
// ... lines 1 - 4
use App\EasyAdmin\VotesField;
// ... lines 6 - 14
class QuestionCrudController extends AbstractCrudController
{
// ... lines 17 - 21
public function configureFields(string $pageName): iterable
{
// ... lines 24 - 35
yield VotesField::new('votes', 'Total Votes')
// ... lines 37 - 55
}
}
See Code Block in Script
I’m trying to recreate the securing EasyAdmin process from scratch - in other words I’m not using the provided project files but creating it by myself from scratch taking from this tutorial the best I can. And now I’m ...
... ". For something like EasyAdmin, there is a lot of JavaScript that you don't have control over. And so, there's nothing you can do. But I don't think it's a huge deal: use Turbo where you can, and skip it where you can't ...
weaverryan
weaverryan
Read Full Comment
... the error to importing bootstrap in our custom javascript we were adding to EasyAdmin. For instance in our custom javascript we had: ``` import { Modal } from 'bootstrap'; ``` which caused the error. Probably from ...
Hey Debasish, Unfortunately, that's not available our of the box. I suppose you can create a custom EasyAdmin filter in this case, and with some AJAX requests it's doable. I'm not sure if you can reuse the exist ...
Hey Alexandru! Nice find :). So yes, it is compat with Symfony 5 (as you discovered) but no, this tutorial is not going to fit well with EasyAdmin 3. We're currently working on an update, but it's still in development ...
weaverryan
weaverryan
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
For your information, this bundle from Javiere is abandoned and no longer maintained. https://packagist.org/packages/javiereguiluz/easyadmin-bundle The following Bundle is suggested : https://github.com/EasyCorp/EasyAdminBundle ...
Pascal A.
Pascal A.
Read Full Comment
Hey! Imagine if we could do this in EasyAdmin, it would be incredible! Looking forward to seeing if this happens, and what possibilities it may offer! ...
Finally! Many thanks for your great efforts! I really enjoy learning the EasyAdmin 4 course. Now, I will continue learning the other course of Symfony 6 track. ...
JoshuaGugun
JoshuaGugun
Read Full Comment
Mmm, if it is public/images how to protect images, i mean that images not possible to see directly, but possible to see via easyadmin? ...