Add widget to header

In the header, there is the app name and user profile. How can I add other widgets and what not?
12 Replies
LeandroFerreira
LeandroFerreira4mo ago
You mean, in the dashboard? I didn't catch that
anderson
andersonOP4mo ago
Yes in the admin dashboard. The header. I suppose render hooks would work. Thanks Does filament have a way of displaying table contents as cards or will I have to make a custom page for that
LeandroFerreira
LeandroFerreira4mo ago
Yes, check the link as Vp mentioned
anderson
andersonOP4mo ago
Got it. I had one more question - sorry for the troubles; I made two panels. Originally the admin uses Pages, Resources and Widgets, and then I made another panel called Profile. Inside the profile has pages and resources too. I tried this before but haven't seen any docs on this; is there a way for me to move Pages, Resources and Widgets for the admin side into a separate folder? Is there a right way to do it?
toeknee
toeknee4mo ago
You can just include them in the PanelProvider to share them In Pages and Resources definition
anderson
andersonOP4mo ago
So basically as long asthe app_path for resources, pages and widgets for the admin side point to the right thing, i should be good?
toeknee
toeknee4mo ago
Yeah sure
anderson
andersonOP4mo ago
This is going to sound a little weird. When I have a panel that is open to the public, I know I can remove the authMiddleware to allow guest but is there a way to keep the profile circle in the top right?
toeknee
toeknee4mo ago
Just add a custom version?
anderson
andersonOP4mo ago
Ah, I see. Didn't know if there was something out of the box already. Thanks
Want results from more Discord servers?
Add your server