…bg: #deebff; }` didn't do anything, it's because EasyAdmin sets a class when it detects dark mode.
Instead I used `.ea-dark-scheme { --sidebar-bg: var(--true-gray-800); }` to lighten it up a bit and that did successfully change the sidebar background color.
Hey @Saturn93!
Sorry for my very slow reply! I agree - EasyAdmin is awesome, but there are some super slick details like this that would make it 10x more awesome. These are tricky to implement, but maybe they'll show up some time :).
Cheers!
Thank you for the answers MolloKhan, managed to make the validation on debounce happen with your tip! I am guessing the same about EasyAdmin, I guess it will just take a little bit of time!
Have a nice day!
…tutorial useful. To change when to submit the form, you need to override the `getDataModelValue()` method from the trait `Symfony\UX\LiveComponent\ComponentWithFormTrait`
About EasyAdmin, I've not heard that they're planning to integrate LiveComponents but I'd imagine they eventually will. You may…
Hey! I've never used Turbo before but I can't wait to discover it on your training!
I already have a first question. Is it possible to use Turbo on EasyAdmin? :)
…You only need to install Doctrine `composer require symfony/orm-pack` then, override the connection environment variable like this: `DATABASE_URL="mysql://root@127.0.0.1:3306/sfcasts_easyadmin"`
You can read more about it here: https://symfony.com/doc/current/doctrine.html
Cheers!
…with an empty Symfony project, I've added EasyAdmin, customized the dashboard, everything is fine, but I'm unable to find how to configure the database connection. And I'm probably unable to find this in the official EasyAdmin docs also... I know this tutorial…
…templates/bundles/EasyAdminBundle/layout.html.twig #}
{% extends '@!EasyAdmin/layout.html.twig' %}
{% block head_javascript %}
{{ parent() }}
{{ importmap() }}
{% endblock %}
```
This application is only an admin panel (no front office).
Some people might want to use something different such as `{{ importmap('admin') }}` on a more standard app.
Cheers!
Hey friends,
I finished the course but I'm still wondering, what is the best way to use AssetMapper with EasyAdmin?
Should I override EA templates so I can use AssetMapper or is there a better way?
I see that `EasyCorp\Bundle\EasyAdminBundle\Config\Assets…
…have a question. I've set up a redirect in Apache2 to force HTTP to HTTPS, and it's working correctly on all pages except for the 'Action::BATCH_DELETE' operation in EasyAdmin. The confirmation message in JavaScript still loads over HTTP, even though my…
Hey Ryan,
Yeah, you're right, it's good to know about Symfony Security system before starting EasyAdmin course because we're talking about it there supposing you're already familiar with it.
Cheers!
Sorry for the inconvenience, can someone tell me how to access the server parameters (Example: COMPUTERNAME or REMOTE_ADDR) and session variables (Example: _security.last_username) in an EasyAdmin CRUD. Both in the CRUD configuration of the fields and/or in any custom event that…
…My theory is that there is a bug in EasyAdmin where it is not properly detecting that a CollectionField is being used on this page (because it is embedded down a few levels) and so the JavaScript needed to power this isn't being added…
Hey Rufnex,
Ah, yes... you've probably missed the previous video where we mention that in a newer version of EasyAdmin, see https://symfonycasts.com/screencast/easyadminbundle/dashboard#:~:text=the%20admin%20dashboard!-,Tip,-Since%20version%204.0.3 . So that's ok, just follow the…
…i use the latest sf and easyadmin. i see only the welcome page. any ideas why?
if i use a custom template like that
```
{% extends '@EasyAdmin/page/content.html.twig' %}
{% block content %}
Willkommen im Admin-Dashboard
{% endblock %}
```
And call it in index() with return $this…
…wondered if it was possible to override EasyAdmin to use DataTables instead and have it use Ajax requests.
Honestly, I don't know how hard/easy it would be to do so. I know you can override a bunch of stuff of EasyAdmin though
Cheers…
Hi @Marouane-M!
Ah, interesting! EasyAdmin actually loads those filters via an Ajax call, so I'm not surprised that you're missing some variables when you try to render them in the main template. I've never tried what you're attempting, but the…
Hey @Rudi-T!
Hmm, it's *possible*, though EasyAdmin hasn't gotten any major upgrades, so nothing "should" have broken. Where does this error come from - like what's the stack trace? And, is your above code (the 3x `set` and `do` a work-around…
Hey |mention:71892|
What part are you talking about? Anyway, you can check the EasyAdmin docs https://symfony.com/bundles/EasyAdminBundle/current/index.html or perhaps the UPGRADE file may be useful https://github.com/EasyCorp/EasyAdminBundle/blob/4.x/UPGRADE.md
Cheers!
Yeah a lot has happened in this time. I have implemented the public area and user panel alone and left easyadmin for admin. And it works great!
Thank you!
x
597