F
Filament•7mo ago
Quin.

Get the profile icon to the sidebar

Hello if you can see i am making a sidebar but i wanted to get the hole profile icon and menu to the left bottom, Anyone has a idea how??
No description
8 Replies
Quin.
Quin.OP•7mo ago
Thank you will look into it man, awesomeđź‘Š And is it possible then to remove the profile icon in the header?
Vp
Vp•7mo ago
maybe published the view files and removed from blade (but not recommended to publish view files) Or using CSS .fi-dropdown-trigger { display: none }
virla
virla•2mo ago
Sorry, but I've read and read and I don't understand where I have to add the PanelsRenderHook, could you give me an example, thanks
virla
virla•2mo ago
yes, I saw and read it, but I don't understand what file I have to put it in: use Filament\Support\Facades\FilamentView; use Filament\View\PanelsRenderHook; use Illuminate\Support\Facades\Blade; FilamentView::registerRenderHook( PanelsRenderHook::BODY_START, fn (): string => Blade::render('@livewire('livewire-ui-modal')'), );
awcodes
awcodes•2mo ago
in the boot method of a service provider, or directly on the panel provider with ->renderHook() For example on the AdminPanelProvider:
->renderHook(
name: PanelsRenderHook::STYLES_BEFORE,
hook: fn (): string => Blade::render('components.fonts')
)
->renderHook(
name: PanelsRenderHook::STYLES_BEFORE,
hook: fn (): string => Blade::render('components.fonts')
)
virla
virla•2mo ago
ha ok, thanks
Want results from more Discord servers?
Add your server