F
Filament2mo ago
dubayd

pages are not showing in the panel

What I am trying to do: i am trying to acces to page via the admin panel What I did: i addded a new page for crud tasks My issue/the error: the page is not showing in the admin panel I have the fillament-acces-managment plugin installed could that be the reason https://filamentphp.com/plugins/solution-forest-access-management
Filament
Access-Management by Solution Forest - Filament
This is total different concept on handle role and permission. A RBAC permission control through spatie/laravel-permission.
No description
No description
5 Replies
toeknee
toeknee2mo ago
This is because you have added it as a page of the resource. As such it won't show as it is epected you will call it. Otherwise you have edit, view etc within there. Also you should Camelcase it as per PSR-4 standards and the existing files. Did you add it to the pages in the list resource? And finally include it in the panel provider for page discovery
->pages([AcivityClass::class])
->pages([AcivityClass::class])
dubayd
dubaydOP2mo ago
no what is the list rescource?
toeknee
toeknee2mo ago
In the pages defined in the resource file too
dubayd
dubaydOP2mo ago
you mean here? in my activityResource
No description
toeknee
toeknee2mo ago
Perfect, so no add it to the panel provider with
->pages([AcivityPage::class])
->pages([AcivityPage::class])

Did you find this page helpful?