Cluster with EditResource form, and other custom pages that interact with a specific resource

I'm wondering if it is possible to create a Cluster which will only be displayed when you are on the edit page for a resource, to show other custom pages that act on a specific resource. For example, I have a LandmarkResource, and when I visit the EditLandmark page I would have the cluster navigation to access another custom Page that was created managing resource data, for example Images related to the landmark. Cluster would have the following links/pages: - landmarks/<id>/edit - landmarks/<id>/media - landmarks/<id>/... - and so on for other custom pages for data related to a single resource I haven't been able to get the EditLandmark page to appear in a cluster by setting the protected static ?string $cluster = ... property. Nor the Custom Resource page for managing the Media, as per the example. I feel like it should be possible since they extend the Page component, however maybe clusters don't work with <resource>/<id> pages.
Solution:
Hi guys, look at the thread: https://github.com/filamentphp/filament/discussions/13029 FYI @Jon Mason @mark.cameron...
GitHub
How to show Cluster navigation in EditRecord and CreateRecord pages...
Package Panel builder Package Version v3.2.85 How can we help you? Hi. Is posible to show cluser navigation in EditRecord and CreateRecord pages as showing in image? List Page Edit page Thanks
Jump to solution
5 Replies
Jon Mason
Jon Mason9mo ago
This is exactly what I'm trying to achieve. Tried a few things but couldn't get it to work with clusters. Were you able to figure it out? My issue is that I need to pass in the ID and in a normal mount() method I would do this, but the cluster's mount method won't accept any parameters.
mark.cameron
mark.cameronOP8mo ago
@Jon Mason Unfortunately I still have not figured this out. Yourself?
Jon Mason
Jon Mason8mo ago
Yeah, I gave up on it, sadly.
Solution
Jão
Jão3mo ago
Hi guys, look at the thread: https://github.com/filamentphp/filament/discussions/13029 FYI @Jon Mason @mark.cameron
GitHub
How to show Cluster navigation in EditRecord and CreateRecord pages...
Package Panel builder Package Version v3.2.85 How can we help you? Hi. Is posible to show cluser navigation in EditRecord and CreateRecord pages as showing in image? List Page Edit page Thanks
mark.cameron
mark.cameronOP3mo ago
@Joao Gomes Thanks for this!
Want results from more Discord servers?
Add your server