Use Resource Page for Dashboard
Hello, is it possible to use a resource as a dashboard page?
11 Replies
You mean as the first page that opens? Just remove the Dashboard page I guess.
yes
but i add only custom page or can i use resource page?
i read in tutorial that custom page need to extend 'class Dashboard extends \Filament\Pages\Dashboard'
But you don't want a dashboard? Then just remove the Dashboard page
yes man i created custom dashboard and its work, but my question is..can i use resource instead of custom page in my custom dashboard?
What is a "Resource as a Dashboard" even supposed to be? Either it's a resource page with a table or it's a Dashboard page with Widgets.
this is my custom page
is it possibile use this?
No. A Resource is not a Page.
What are you trying to do and why? Can you please explain?
An admin creates a task list (Admin Panel)
Users see a list of tasks after login. (Users Panel)
My idea was to use the activity resource to show a grid and a view page
it worked fine if I didn't want to use it on the home page (dashboard)
Just use a table widget for the Dashboard then
Solution
Or just remove the Dashboard and make ActivityResource your first resource
thnks