how can show information in topbar?

Hey guys, i need show information from database in the topbar, how can do this? Any idea or configuration from Filament for this? i check this https://filamentphp.com/docs/3.x/panels/resources/global-search but i'ts not the same that i nedd. Thank you
No description
2 Replies
TranceCode
TranceCode3mo ago
I have already found the solution in Panel Provider add this:
->renderHook(
PanelsRenderHook::GLOBAL_SEARCH_AFTER,
fn (): View => \view('filament.top'),
)
->renderHook(
PanelsRenderHook::GLOBAL_SEARCH_AFTER,
fn (): View => \view('filament.top'),
)
Create a view in resources/filament/top.blade.php and use this line for the position!
PanelsRenderHook::GLOBAL_SEARCH_AFTER,
PanelsRenderHook::GLOBAL_SEARCH_AFTER,
Here we have more position for show the information in the project https://filamentphp.com/docs/3.x/support/render-hooks#panel-builder-render-hooks
TranceCode
TranceCode3mo ago
No description
Want results from more Discord servers?
Add your server