Julien B. (aka yebor974)
Julien B. (aka yebor974)
FFilament
Created by LordOfDrols on 1/15/2025 in #❓┊help
Add Elements to the TopMenu
9 replies
FFilament
Created by LordOfDrols on 1/15/2025 in #❓┊help
Add Elements to the TopMenu
you can register it directly on you panel provider too
9 replies
FFilament
Created by LordOfDrols on 1/15/2025 in #❓┊help
Add Elements to the TopMenu
Example :
FilamentView::registerRenderHook(
PanelsRenderHook::TOPBAR_START,
fn (): string => Blade::render('<x-filament::link href="' . config('app.url') . '" target="_blank" icon="heroicon-o-arrow-top-right-on-square">View Public Area</x-filament::link>'),
);
FilamentView::registerRenderHook(
PanelsRenderHook::TOPBAR_START,
fn (): string => Blade::render('<x-filament::link href="' . config('app.url') . '" target="_blank" icon="heroicon-o-arrow-top-right-on-square">View Public Area</x-filament::link>'),
);
9 replies
FFilament
Created by LordOfDrols on 1/15/2025 in #❓┊help
Add Elements to the TopMenu
Hi, You can use render hook TOPBAR_START Example here with AUTH_REGISTER_FORM_BEFORE : https://filamentmastery.com/articles/filament-render-hooks-example-with-authentication-pages
9 replies
FFilament
Created by Tudor on 1/13/2025 in #❓┊help
Filament Auth via an external api
You can register or subscribe to https://filamentmastery.com to discover other tutorials. All it’s free
7 replies
FFilament
Created by Tudor on 1/13/2025 in #❓┊help
Filament Auth via an external api
You’re welcome
7 replies
FFilament
Created by Tudor on 1/13/2025 in #❓┊help
Filament Auth via an external api
7 replies
FFilament
Created by Tudor on 1/13/2025 in #❓┊help
Filament Auth via an external api
Hi, It’s possible by defining custom guard and user provider. To map your guard you can follow this article : https://filamentmastery.com/articles/implementing-filament-auth-guard
7 replies
FFilament
Created by Pathros on 1/13/2025 in #❓┊help
Email sending not working on reset password
Hi. The reset password notification is put in the job queue. Try to enable your queue if not. If you use horizon : php artisan horizon
5 replies
FFilament
Created by AngryTestie on 1/13/2025 in #❓┊help
Custom Login Page(add link below the sign in button)
I have no other way to do this than to redefine the login view but this is not recommended. What version of Filament are you using?
8 replies
FFilament
Created by AngryTestie on 1/13/2025 in #❓┊help
Custom Login Page(add link below the sign in button)
Hi, You can use render hook AUTH_LOGIN_FORM_AFTER Example here with AUTH_REGISTER_FORM_BEFORE : https://filamentmastery.com/articles/filament-render-hooks-example-with-authentication-pages
8 replies
FFilament
Created by dbiljak on 1/12/2025 in #❓┊help
Help with email translation
Hi. Filament uses the laravel reset password. You can translate it with json lang file like en.json.
3 replies
FFilament
Created by Azad Furkan ŞAKAR on 1/9/2025 in #❓┊help
Anystack Billing Page Error
Hi. I had this error because my IP was not supported by this integration of Stripe. I use a vpn and it was ok. Maybe you have the same issue
5 replies
FFilament
Created by sdousley on 1/8/2025 in #❓┊help
logout going to http
Yes or maybe configure you Haproxy to send scheme like X-Forwarded-Proto
8 replies
FFilament
Created by sdousley on 1/8/2025 in #❓┊help
logout going to http
Hi. Do you have a reverse proxy before your web server or do you make a proxy pass ?
8 replies
FFilament
Created by Xavi on 1/8/2025 in #❓┊help
Listener on verification
Hi. You have the default event from laravel Illuminate\Auth\Events\Verified. Just create an event listener for this event and add your process in handle methode. Example :
namespace App\Listeners;

use Illuminate\Auth\Events\Verified;

class TestEmailVerifiedListener
{
public function __construct()
{
}

public function handle(Verified $event): void
{
dd($event);
}
}
namespace App\Listeners;

use Illuminate\Auth\Events\Verified;

class TestEmailVerifiedListener
{
public function __construct()
{
}

public function handle(Verified $event): void
{
dd($event);
}
}
For listener, look at this documentation : https://laravel.com/docs/11.x/events#defining-listeners
3 replies
FFilament
Created by Randak on 1/7/2025 in #❓┊help
Dropdown with more than 50 records
Hi. You have ->optionsLimit(…) on your record select. You can customize it
5 replies
FFilament
Created by TranceCode on 1/6/2025 in #❓┊help
How can edit the register account?
For example :
protected function handleRegistration(array $data): Model
{
/** @var User $user */
$user = parent::handleRegistration($data + ['force_renew_password' => false]);
// ... you code here to manage plan
}
protected function handleRegistration(array $data): Model
{
/** @var User $user */
$user = parent::handleRegistration($data + ['force_renew_password' => false]);
// ... you code here to manage plan
}
You can also use relation on your form with the plan.
9 replies
FFilament
Created by TranceCode on 1/6/2025 in #❓┊help
How can edit the register account?
Hi. You can use protected function handleRegistration(array $data): Model to manage you register process and not use onSubmit (does not exist here).
9 replies
FFilament
Created by Vicky on 12/26/2024 in #❓┊help
how to create 1 data to 3 table?
if you are in resource you can use afterCreate method. Otherwise use Laravel event/listener. They are manys way to do this, depending on your business process
11 replies