User Menu to sidebar
Is it possible to move the user menu to the bottom of the sidebar without overriding the view blade?
So sticky position to the sidebar navigation, and on show, so settings and logout buttons directly, without clicking into the user menu.
Or would this be a case of disabling user menu then creating custom navigation actions?
Solution:Jump to solution
```php
->renderHook(
PanelsRenderHook::SIDEBAR_FOOTER,
fn (): View => view('filament-panels::components.user-menu', ['attributes' => new \Illuminate\View\ComponentAttributeBag])
)...
13 Replies
You should be able to use a render hook the blade to add it to the bottom left.
Do I call the user menu render hook as the second param?
Currently got
And getting: Undefined variable $attributes
Solution
Technically.. works
im guessing the technically, would be unadvisory?
Not at all, it just looked a bit funny on my display
Ah, fair haha
Ill give it a go now, just got into work
Does your's still show as a dropdown? Is it possible to show already viewable, like this example

So for that, just build your own view and render it there. Copy the bits from the current item and jobs good
Excellent. Thank you for your help π
Actually, another quick question if you don't mind. I added ->topbar(false) in my provider, supposing that removes the bar at the top? But seems to be ignored, so user menu items still exists there also

Topbar false means it removes the topbar and addsa sidebar π
If topbar = true, sidebar goes away
Ah, so that part with the search and user menu at the top, is different to ->topbar(), gotcha
Yep