sub navigation in custom page
I create filament page inside resource, and inside I display some list with table.. Now I want to use resource sub-navigation (https://filamentphp.com/docs/3.x/panels/resources/getting-started#resource-sub-navigation), the view, edit page are working fine, but in custom page the navigation cannot display.. How can I make the sub-navigation displaying (working) in custom page?
Solution:Jump to solution
I convert it like the demo (https://github.com/filamentphp/demo/blob/main/app/Filament/Resources/Blog/PostResource/Pages/ManagePostComments.php) and it's working fine
GitHub
demo/app/Filament/Resources/Blog/PostResource/Pages/ManagePostComme...
Source code for the demo.filamentphp.com website. Contribute to filamentphp/demo development by creating an account on GitHub.
2 Replies
I tried the exact same thing in Resource page but it's not working in custom page
Solution
I convert it like the demo (https://github.com/filamentphp/demo/blob/main/app/Filament/Resources/Blog/PostResource/Pages/ManagePostComments.php) and it's working fine
GitHub
demo/app/Filament/Resources/Blog/PostResource/Pages/ManagePostComme...
Source code for the demo.filamentphp.com website. Contribute to filamentphp/demo development by creating an account on GitHub.