Cluster Pages + Navigation Groups

I am currently trying to sort the same subpages here. I've already tried various things but I can't get them under the "main item" I would like to arrange it under the elements with the icons.
No description
15 Replies
John Wink
John WinkOP8mo ago
No, definitely not. Because what it says doesn't help me
kippie1985
kippie19858mo ago
Sorry, didn't read it correct. In this case, you should use navigationgroups. In your PanelProvider, define navigationgroups using
->navigationGroups(['Loans'])
->navigationGroups(['Loans'])
In your resource, define
protected static ?string $navigationGroup = 'Loans';
protected static ?string $navigationGroup = 'Loans';
This should do the trick. Reference: https://filamentphp.com/docs/2.x/admin/navigation#grouping-navigation-items
John Wink
John WinkOP8mo ago
Tried it a long time ago: This is the result
No description
John Wink
John WinkOP8mo ago
That's not how it works either, by the way.
No description
John Wink
John WinkOP8mo ago
The other pages are not even displayed. Like ObjectViewPage oder ConfirmationPage
No description
kippie1985
kippie19858mo ago
This is a fresh Laravel + Filament install
No description
John Wink
John WinkOP8mo ago
Yes, but it has nothing to do with the problem. These are 2 resources for the Loan.php model Both are clustered under Loan. Both actually have several subpages but they do not appear at all. The Kanban pages do appear but cannot be subordinated under Own/Shared.
No description
kippie1985
kippie19858mo ago
Ahh ok. I thought you tried to cluster the main nav.
John Wink
John WinkOP8mo ago
It was like this before. Because on the model but about 2 different relations are classified about own and which belong to others but were shared.
No description
John Wink
John WinkOP8mo ago
I have found a small workaround. However, I still don't know how to make the other pages visible.
No description
John Wink
John WinkOP8mo ago
The & register in the PanelProvider does not work
No description
Michael Berco
Michael Berco8mo ago
Are these clusters ui visible in mobile?
John Wink
John WinkOP8mo ago
yes except the additional pages followup, won-lost, clearing, bank
Ashk
Ashk2mo ago
@CyQuer hello, did you find a solution to this issue ? I'm facing the same "problem" 😦
Want results from more Discord servers?
Add your server