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
LeandroFerreira3mo ago
You mean, in the dashboard? I didn't catch that
anderson
andersonOP3mo 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
LeandroFerreira3mo ago
Yes, check the link as Vp mentioned
anderson
andersonOP3mo 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
toeknee3mo ago
You can just include them in the PanelProvider to share them In Pages and Resources definition
anderson
andersonOP3mo 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
toeknee3mo ago
Yeah sure
anderson
andersonOP3mo 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
toeknee3mo ago
Just add a custom version?
anderson
andersonOP3mo 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