Alnuaimi
Custom Login Page(add link below the sign in button)
use Filament\Support\Facades\FilamentView;
use Filament\View\PanelsRenderHook;
use Illuminate\Contracts\View\View;
you can write this code inside boot() function inside your AppServiceProvider
FilamentView::registerRenderHook(
PanelsRenderHook::AUTH_LOGIN_FORM_AFTER,
fn(): View => view('socialite-logins'),
);
8 replies
Can't export data using ExportAction with Tenant
If you are using
stancl/tenancy
You can put this code inside
Route/tenant.php
inside group just
use Filament\Actions\Exports\Http\Controllers\DownloadExport;
Route::get('filament/exports/{export}/download', DownloadExport::class)
->name('filament.exports.download')
->middleware(['web', 'auth']);
20 replies