F
Filament3mo ago
Milorn

Add a custom page to a resource sub navigation

I'm using the package
require mokhosh/filament-kanban
require mokhosh/filament-kanban
that creates a custom page, i want to add that custom page to my resource pages subnavigation to be able to link it with a specific record like this:
/{record}/tasks
/{record}/tasks
(like create and edit pages), but the problem since it's a regular page not a resource page it doesn't have the route method, i've tried other stuff with no result. How should i add my custom page to my other resource pages ?
No description
No description
No description
4 Replies
CGM
CGM2mo ago
Were you able to figure this out?
Milorn
Milorn2mo ago
I changed but i think you can make it work by creating a custom page in your resource and adding the "InteractWithRecord" if i remember correctly Try copying some of the related pages By checking the ManageRelatedRecord class (something like that)
CGM
CGM2mo ago
Thank you for getting back Milorn. That is a great idea.
Milorn
Milorn2mo ago
My pleasure