Is it possible to custom the database notifications modal ?
Hi guys, I would like to implement the Notifications module to my app but I'm wondering how to custom the modal of database notifications. Is it even possible to do so ? Thanks !
6 Replies
Hi ! 👋
Dig around the vendor of filament:
Here:
vendor/filament/notifications/resources/views
And specifically this blade file for your modal: vendor/filament/notifications/resources/views/components/database/modal/index.blade.php
You can now override some views in your custom vendor: resources/vendor/filament/components/database/modal/index.blade.php
Thanks a lot !
It's not advised to publish the views (ask me how I know) but instead modify via CSS where possiblem, just FYI.
Yeah, I think so… thanks for the advice !
I think it's best if you advise on what youm would like to customise
I mean the all modal 🥲 like the title block but also the body to add some buttons or things like that