F
Filamentβ€’3mo ago
RY-Ali

Help changing the design of the Login page!!!

Guys, I have a special UI design for registration and login page and I want to implement them on filament, but I did not succeed in overriding the login page. Any help!!!Any help!!!
Solution:
@Dennis Koch It worked as soon as I changed the browser.
Jump to solution
19 Replies
awcodes
awcodesβ€’3mo ago
What did you try? The approach is to override the login page then return your own custom blade view.
RY-Ali
RY-AliOPβ€’3mo ago
How can I do it??
awcodes
awcodesβ€’3mo ago
again, what have you tried?
RY-Ali
RY-AliOPβ€’3mo ago
->login(Login::class)
No description
RY-Ali
RY-AliOPβ€’3mo ago
I think I'm 1000% wrong. πŸ˜‡
Dennis Koch
Dennis Kochβ€’3mo ago
Looks good. Is ->login(Login::class) also your class? Or did you import the filament class instead?
RY-Ali
RY-AliOPβ€’3mo ago
this is my ( Login::class )
Dennis Koch
Dennis Kochβ€’3mo ago
Can you share the import/use statement for this to be 100% sure? Also: You added/changed content to the view file?
RY-Ali
RY-AliOPβ€’3mo ago
use App\Livewire\Admin\Auth\Login; Yes, I made changes in the new view file to make sure it works but there was no change in the default login blade from filament
Dennis Koch
Dennis Kochβ€’3mo ago
What did you change? Some text? Do you have more than 1 panel?
RY-Ali
RY-AliOPβ€’3mo ago
I changed everything first to see the change, I have one panel
Dennis Koch
Dennis Kochβ€’3mo ago
Hm. Looks fine to me.
RY-Ali
RY-AliOPβ€’3mo ago
Yes
RY-Ali
RY-AliOPβ€’3mo ago
No description
Solution
RY-Ali
RY-Aliβ€’3mo ago
@Dennis Koch It worked as soon as I changed the browser.
Dennis Koch
Dennis Kochβ€’3mo ago
Uh, weird. Was it cached? πŸ€”
RY-Ali
RY-AliOPβ€’3mo ago
I think I was using google chrome. @Dennis Koch Appreciate your help and your time!
RY-Ali
RY-AliOPβ€’3mo ago
@Dennis Koch Sorry for the inconvenience. If I want to make a complete change to filament-panels::components.layout.simple, how can I do it in a similar way to what we did with the login!!
awcodes
awcodesβ€’3mo ago
You would have to publish the view and override it, but be aware that you would have to keep track of any breaking changes in the future. Also the default profile page use the simple layout too, so any changes you make will affect that as well.
Want results from more Discord servers?
Add your server