Alfatic
In which file should I put customized toast notification?
I want a custom message to pop in the "toast" little info window when an item is created.
However, I don't know where to put it, in which file. Again, this is something I struggle a lot with in Filament and I think this could be improved by providing perhaps more real world examples with real files with real names - just an idea.
Anyway, I have found this https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create and
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#customizing-the-save-notification but I don't know where to put this code:
I am using the standard resource and it is happening in CreateUser.php? I am not sure.
Thanks for any advice where to put that code.
56 replies
Label based on the grammar case
I need to alter the label of the resource based on the view. Because it's mostely in Accusative and not Nominative.
If that's not possible how to set a poor-mans-case label based on a specific page? A different label for create and a differnt for edit page of a resource. It will shows probably some other inconsistencies down the line though.
3 replies
How do I modify the plugin's view page?
Is there a command that would "export" the blade files and put it in my Laravel views (or some other) folder of a Filament plugin and then I could modify it? The plugin author doesn't speak about it on the docs. But perhaps that is something that the view files export for further design tweaking is a "common knowledge" among the Filament users? I am new to Filament and the docs are kind of huge, so perhaps I have missed something?
156 replies
I am trying to upload images in the demo app the loading is hanging
I have done everything as said in the github demo page including
php artisan storage:link
but I am getting this:
I can't stop the uploads, nor see them. Both of those images are small, only like 30 - 40 kB. Why is that? I am on a macOS and using Herd.1 replies