F
Filamentβ€’6d ago
Glebka

Can someone help with render hooks?

Hello! I am beginner to the filament and i cant get it how to create livewire render hook view to make it look like a notification sidebar? Thanks for help !
No description
No description
Solution:
sorry, for your time. That wa easier than i thought πŸ˜…
No description
No description
No description
Jump to solution
5 Replies
John Trickett
John Trickettβ€’6d ago
@Glebka Can you elaborate please? You have the existing notification icon and sidebar already. What do you want to do with a render hook?
Glebka
GlebkaOPβ€’6d ago
I want to add button to the topbar, when user preses a button its opens a sidebar similar to notifications sidebar, right now i dont have anything besids an idea, but thanks for truing to help me!
John Trickett
John Trickettβ€’6d ago
I understand! I would typically create a Livewire component for it. I would use the modal component (https://filamentphp.com/docs/3.x/support/blade-components/modal) and configure the modal as a slideover. You can then use a render hook to place the modal trigger in the top bar with something like: PanelsRenderHook::USER_MENU_BEFORE
Solution
Glebka
Glebkaβ€’6d ago
sorry, for your time. That wa easier than i thought πŸ˜…
No description
No description
No description
John Trickett
John Trickettβ€’6d ago
@Glebka No problem at all!
Want results from more Discord servers?
Add your server