F
Filament15mo ago
newbie

How to replace default login blade? - how to replace the entire page?

I have created a new Login class & its corresponding blade to override the default login page. My dummy login blade view is as follows
<x-filament-panels::page.simple>
Dummy Login Page
</x-filament-panels::page.simple>
<x-filament-panels::page.simple>
Dummy Login Page
</x-filament-panels::page.simple>
My problem: The page is still having the card with app_name & signin. It is only replacing the login fields - email, password & submit buttons - with my "Dummy Login Page" text. I want to replace the complete page with my custom layout. I need a blank page to position my "Dummy Login Page" (and my actual fancy login screen layout).. How do I achieve it? (the more I try, more crazy it is).
4 Replies
code jam
code jam15mo ago
Replace that simple layout file with your own? I would basically start from scratch.. either extend from the base layout or create your own layout all together for the blade component of the new login page.
wyChoong
wyChoong15mo ago
Why are you using the simple page blade if you gonna replace all with your fancy layout?
newbie
newbieOP15mo ago
Is there any example which shows how to override an existing login page completely in the filament context? It would be very helpful.
DrByte
DrByte15mo ago
The filament-companies package has some custom login pages. Even if they're not completely different from the core one, you can look at the package to see the concepts of how to build your own or how to override certain parts. https://github.com/andrewdwallo/filament-companies/
GitHub
GitHub - andrewdwallo/filament-companies
Contribute to andrewdwallo/filament-companies development by creating an account on GitHub.
Want results from more Discord servers?
Add your server