Bart - EffectConnect
Automatically delete Export files
Hi guys! I've started playing around with the Exporter functionality in Filament. Works great in combination with Digital Ocean spaces. I'm wondering how to auto-delete the files from DO after a while, since I don't want to keep them there forever.
Anyone struggled with that before?
6 replies
Triggering the create modal of a resource on a custom dashboard widget (blade file)
Hi guys.
I'm using the create (and edit) modal in one of my resources. Works like expected.
Now, I have a custom widget on my dashboard for this resource and I want users to be able to create a new record right from a model on the dashboard.
Is there any way I can trigger the create modal, that already exists within the resource, from the dashboard?
Found a way to trigger modals from a blade view, but they were all custom modals, not the built in create modal.
Thanks!
4 replies
Troubles setting custom content for validation email
Hi all. I'm struggling a bit with the customization of email content. In this case specifically the verification email a used gets to verify his email address.
I tried creating a custom email verification class that overrides the VerifyEmail() class. I tried adding stuff to the AppServiceProvider in the boot(). But none of them see to get used by my code.
Maybe some of you already did this before. What would be the best way to get this to work?
For now I want to adjust the content in the email (subject, greeting, salutation etc.), but later I want to add the logo instead of the name of the app in the header for example.
Thanks!
4 replies
Auto delete files when deleted in FileUpload component
Hi all, I'm using the FileUpload component a lot and even got it to work properly on DigitalOcean Spaces, which is awesome! However, I cannot find an easy solution or configuration option for the component that deletes files from the storage when I delete a file in the component and save the record.
Did any of you face this issue? How did you solve it if you did?
4 replies
Filament default ENUMS missing
Hi all, ever since I started using Filament (I am on v3.2) I cannot seem to use any of the default ENUMS that I find in the docs.
Examples:
use Filament\Support\Enums\IconPosition;
"Undefined class 'IconPosition' "
use Filament\Support\Enums\IconSize;
"Undefined class 'IconSize'"
And so on.
Has any one of you experienced the same thing? I actually cannot find these enums in the codebase either.
Either I really don't understand or have some kind of incomplete install or so? Hope anyone can shine a light 😉
10 replies
Laravel Spark Stripe and Filament - subscriptions per user
Hi all, I'm struggling a bit with Laravel Spark Stripe and Filament. I noticed there's the spark-billing-provider for Filament, but I think it's designed for multi-tenancy and subscriptions per tenant. I'm building a setup to do subscriptions per user.
Got the Laravel Spark integration working for the billing page and communication with Stripe. But I'm not figuring out how to check for these subscriptions, show banners below the top bar when someone is on a trial etc.
Did anyone do this before, subscriptions per user? I'm in need of a small push into the right direction 😅
Thanks 🙏
11 replies