Define a custom route with custom view in Filament
I would like to define a custom logic that will be executed after the user logs in.
The idea is to show a similar design to the login page after the user logins. It will contain a dropdown menu and a submit button.
The problem is that I'm unable to define the custom route anywhere. Can you please guide me where should I put such behaviour?
8 Replies
create a custom page for that and hide it in the navigation
I don't want that page to inherit the design of the panel. I want it to be single window. I've managed to do this so far.
But I had to define the following in the routes.php
Also the Page itself had to extend
SimplePage
But I don't know if this is the right way
instead of page it should extend the simplepage
and how can I define the route to that page? In the Resource?
for example here:
And just hide it in the navigation?

When I add it to the getPages and it extends
SimplePage
Why would you add it to some resource pages?
As for getting the route it should be done like this https://laraveldaily.com/post/filament-get-urls-route-names-resources-pages