PAGE_START hook not working.
Hi, I'm trying to customize my login page, I tries rewriting the whole blade but it didn't work the way I wanted.So I'm trying with render hook. I found that PAGE_START /PAGE_END can be scoped. But in my case thay are not working.Any ideas?
FilamentView::registerRenderHook(
// PanelsRenderHook::AUTH_LOGIN_FORM_BEFORE,
PanelsRenderHook::PAGE_START,
fn():View=>view('extra_login_head'),
// scopes:\App\Filament\Pages\Auth\LoginEdit::class,
);
FilamentView::registerRenderHook(
// PanelsRenderHook::AUTH_LOGIN_FORM_AFTER,
PanelsRenderHook::PAGE_END,
fn():View=>view('extra_login_foot'),
// scopes:\App\Filament\Pages\Auth\LoginEdit::class,
);
It does not work with the scope neither.2 Replies
Did you try
AUTH_LOGIN_FORM_BEFORE
AUTH_LOGIN_FORM_AFTER
?
They are in the login pageyes I tried but it didn't change the layout the way I wanted. I need to change the whole layout.If I use BODY_START and END i get the result that I want. but this hooks can't be scope to my login right?