Michal Čabala
Michal Čabala
FFilament
Created by Michal Čabala on 2/20/2024 in #❓┊help
Group action (question/help request)
Thanks for your reply. I thought it's not possible right now, so I hope it will be able to do it in the future 🙂
8 replies
FFilament
Created by Michal Čabala on 2/20/2024 in #❓┊help
Group action (question/help request)
I will explain: i have table of records grouped by relation (materials on pallets). Pallet is stored in some location in shelves in warehouse. So i would like to have actions for each material and also for each pallet in one table.
8 replies
FFilament
Created by Michal Čabala on 2/20/2024 in #❓┊help
Group action (question/help request)
Yes, but i would like to add these actions to group of records - https://filamentphp.com/docs/3.x/tables/grouping
8 replies
FFilament
Created by mushtaqrahim on 2/20/2024 in #❓┊help
dependent select filter
Consider looking at laraveldaily.com. Full of tutorials. Some of them premium (paid), but worth of it.
4 replies
FFilament
Created by Billi 🌻 on 12/9/2023 in #❓┊help
How to Authenticate User based on their Status, and also hide few Resource Pages based on the Role
Also, what User status = approved means? According on what conditions? Do you have more statuses? Some things can be done in easier ways that are in Laravel (and Filament core) like softdeletes etc.
28 replies
FFilament
Created by Billi 🌻 on 12/9/2023 in #❓┊help
How to Authenticate User based on their Status, and also hide few Resource Pages based on the Role
1. For custom login page and behaviour, check this tutorial: https://laraveldaily.com/post/filament-3-login-with-name-username-or-email But you need to customize it for your needs. 2. Try looking at the Shield plugin. I think it's very easy to use and it's working very well for me.
28 replies
FFilament
Created by mohdaftab on 11/26/2023 in #❓┊help
How do I prevent inactive/suspended users from logging in to dashboard?
Just curious what's the difference between inactive and suspended? Just mark user as inactive/suspended and that's it.
21 replies
FFilament
Created by mohdaftab on 11/26/2023 in #❓┊help
How do I prevent inactive/suspended users from logging in to dashboard?
I think softdeletes are the same thing like user status, if you know how softdeletes are working. And if you don't need more states. And you also don't need extra coding for that, that behaviour just works out of the box.
21 replies
FFilament
Created by mohdaftab on 11/26/2023 in #❓┊help
How do I prevent inactive/suspended users from logging in to dashboard?
Just thinking why three states if you just want to prevent inactive user to login. For that it's easier to implement softdeletes and it works out of the box, no extra coding needed. Yeah, i'm doing it same way, but the more i'm digging deeper to Laravel and Filamenty the more i realize that some things can be done much easier way. And like I've said, it just depends on needs. If you just need to "disable" user, use softdeletes. Or make a Custom login page and credentials and customize it your way.
21 replies
FFilament
Created by mohdaftab on 11/26/2023 in #❓┊help
How do I prevent inactive/suspended users from logging in to dashboard?
Also an option, but softdeletes works fine for me and it's also super easy. No need to have extra fields for user state (if you don't need some multiple conditions) and you can easily restore user.
21 replies
FFilament
Created by mohdaftab on 11/26/2023 in #❓┊help
How do I prevent inactive/suspended users from logging in to dashboard?
No problem. Just remind me or PM, as i've said to not forget about you. I've tested it right now...if you want to avoid custom login page and process, just implement softdeletes to your user model, if you are happy with that solution. If you need more states, you need custom login page and process. It just depends on what you need.
21 replies
FFilament
Created by mohdaftab on 11/26/2023 in #❓┊help
How do I prevent inactive/suspended users from logging in to dashboard?
As I am total noob, i can't answer for that. But according to docs, you have to make a custom login page and function to customize login process in it. It's not so difficult and it works great for me. I don't have time to test it if it works with softdeletes without having custom login page and process. But recently i've made login with personal number instead of email and also check that user is active or not by softdeletes and it works perfectly
21 replies
FFilament
Created by mohdaftab on 11/26/2023 in #❓┊help
How do I prevent inactive/suspended users from logging in to dashboard?
It also works if you have made it as you described, but softdeletes works better in my opinion.
21 replies
FFilament
Created by mohdaftab on 11/26/2023 in #❓┊help
How do I prevent inactive/suspended users from logging in to dashboard?
Recently i made this, but right now on smsrtphone, so remind me or PM me, i will share a code for you. Basically, implenent softdeletes to your user model and make custom login page with custom login behaviour/credentials. It works perfectly.
21 replies
FFilament
Created by Michal Čabala on 11/25/2023 in #❓┊help
Deploy to shared hosting, not loading assets.
So I'm lucky enough...some time ago I was looking for hosting that can handle phpBB or Xenforo well and some guy gave me advice for this hosting. Right now I'm running phpBB there and recently added domain for testing my personal project in Laravel and Filament. It's like shared hosting, but probably looks like VPS as of the features- just take a look at it: https://exon.io/nexthosting (switch to english, the cheaper plan (about 15 EUR/month).
16 replies
FFilament
Created by Michal Čabala on 11/25/2023 in #❓┊help
Deploy to shared hosting, not loading assets.
Just a question...in what is the difference between shared hosting and VPS for running Laravel and Filament app? If you have SSH, Git etc. on shared hosting?
16 replies
FFilament
Created by Michal Čabala on 11/25/2023 in #❓┊help
Deploy to shared hosting, not loading assets.
I'm lucky enough that my hosting have SSH etc., but I can't work with it yet, as I'm totally noob about it and still learning. And right now i have this hosting just for testing (and learning) purposes.
16 replies
FFilament
Created by Michal Čabala on 11/25/2023 in #❓┊help
Deploy to shared hosting, not loading assets.
I think I don't understand your question well (probably of a language?) ...can you be more detailed?
16 replies