morty
Implementing tabs that changes the whole page
And here is the code for that demo site: https://github.com/filamentphp/demo
37 replies
Implementing tabs that changes the whole page
I watched the video you linked again. From what I gather, this is how it's structured:
There is a
Group
resource. The group that you're working with is called 000 Jeff's Test Group
. Therefore if you want to replicate this in Filament, you'd have a GroupResource
listing and upon clicking into the 000 Jeff's Test Group
record, then the resource subnav would be on that specific record, not the model.37 replies
Implementing tabs that changes the whole page
Otherwise, if you're just trying to cluster things then resource sub-navigation is not what you want. Instead you want https://filamentphp.com/docs/3.x/panels/clusters
37 replies
Implementing tabs that changes the whole page
I'm not really following your settings example. Resource sub-navigation is done for each record of a resource.
Perhaps you should be putting your sub-nav on the user resource from what it appears you're trying to achieve. Therefore when you click into a user you'd see the sub-nav.
37 replies
Implementing tabs that changes the whole page
You can mix-and-match. I can't really answer that for you because I don't know your project. If your tabs will be related records to the resource record then use manage related records pages. Otherwise you might need custom pages.
37 replies