black ka1ser
black ka1ser
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
thanks for your inputs. ill try first
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
yeah i have watched this before, he reused the methods hence maintaining the design. my case here requires a whole redesign of the page
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
anyway, i dunno if what i did is is the best practice. feel free to gimme your opinion
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
No description
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
in my custom layout i have this
@vite(['resources/css/login.css'])

<div class="container">
@yield('content')
</div>
@vite(['resources/css/login.css'])

<div class="container">
@yield('content')
</div>
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
<?php

namespace App\Filament\Pages\Auth;

use Filament\Pages\Auth\Login as BaseAuth;

class CustomLogin extends BaseAuth
{
protected static string $view = 'filament.custom-login';

protected static string $layout = 'filament.components.custom-layout';
}
<?php

namespace App\Filament\Pages\Auth;

use Filament\Pages\Auth\Login as BaseAuth;

class CustomLogin extends BaseAuth
{
protected static string $view = 'filament.custom-login';

protected static string $layout = 'filament.components.custom-layout';
}
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
yeah at first i need opinion and then need to know how to do it since its my first time haha
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
No description
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
@vite(['resources/css/login.css'])

<div class="container">
<header>hello world</header>
</div>
@vite(['resources/css/login.css'])

<div class="container">
<header>hello world</header>
</div>
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
yeah im doing that. currently i have
protected static string $view = 'filament.custom-login';
protected static string $view = 'filament.custom-login';
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
custom login page: render hooks or override class?
i tried something like
public function render(): View
{
return view('filament.custom-login');
}
public function render(): View
{
return view('filament.custom-login');
}
but got this error Attempt to read property "childNodes" on null
21 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
im trying to display a simple TextColumn but nothing shows up
No description
14 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
im trying to display a simple TextColumn but nothing shows up
No description
14 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
im trying to display a simple TextColumn but nothing shows up
nvm, i have solved it using default() instead
14 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
im trying to display a simple TextColumn but nothing shows up
wait, i thought we can have a custom column without needing a column in table
14 replies
FFilament
Created by black ka1ser on 8/21/2024 in #❓┊help
im trying to display a simple TextColumn but nothing shows up
No description
14 replies
FFilament
Created by black ka1ser on 3/3/2024 in #❓┊help
what is the best practice for adding a line break in the table?
i just want to know if theres a better way to do this
8 replies
FFilament
Created by black ka1ser on 3/3/2024 in #❓┊help
what is the best practice for adding a line break in the table?
No description
8 replies
FFilament
Created by black ka1ser on 3/3/2024 in #❓┊help
what is the best practice for adding a line break in the table?
No description
8 replies