Bart - EffectConnect
Triggering the create modal of a resource on a custom dashboard widget (blade file)
Rubber duck again: found info via Filament Daily about default action. If you use the route to the index of the resource, and pass the name of the action as a query param 'action', it'll be triggered 🙂
https://www.youtube.com/watch?v=B0kO941vh7w
4 replies
Troubles setting custom content for validation email
Hi all, this forum is a rubber duck for me sometimes 🙂 So I found a solution. I create a couple of custom stuff for Login, Register and VerifyEmail. And with a little help of ChatGPT, got it to work 😉
4 replies
Auto delete files when deleted in FileUpload component
Found a solution tonight. I've created an Observer and have used the isDirty and getOriginals method to find which files would need to be deleted on the 'updating' and 'deleted' event. Then used the Storage::disk('local')->delete($file) code.
4 replies
Laravel Spark Stripe and Filament - subscriptions per user
Update: I used a custom blade file (subscriptionBanner) for the banner and attached it using a renderHook in the panel provider. It was as simple as that in the end 😅
renderHook('panels::body.start',
fn () => view('subscriptionBanner'),
)
11 replies