BlackShadow
BlackShadow
FFilament
Created by BlackShadow on 8/28/2023 in #❓┊help
Private images
Route::get('local/temp/{path}', function (string $path) {
if (! \request()->hasValidSignature()) {
abort(401);
}

return Storage::disk('local')->download($path);
})->where('path', '.*')->name('local.temp');
Route::get('local/temp/{path}', function (string $path) {
if (! \request()->hasValidSignature()) {
abort(401);
}

return Storage::disk('local')->download($path);
})->where('path', '.*')->name('local.temp');
13 replies
FFilament
Created by BlackShadow on 8/28/2023 in #❓┊help
Private images
Routes
13 replies
FFilament
Created by BlackShadow on 8/9/2024 in #❓┊help
Custom register page (register link on login page)
I think publishing the view and just removing it is the way.
13 replies
FFilament
Created by BlackShadow on 8/9/2024 in #❓┊help
Custom register page (register link on login page)
Yea customizing the view seems to be the "easy" way but it might cause problems later on 😅
13 replies
FFilament
Created by BlackShadow on 8/9/2024 in #❓┊help
Custom register page (register link on login page)
https://portal.m.test/customer/register?token=753846f19d36364bf306b392740e6343&signature=270a066fb9f17dccf32fab097d6b572197d045e10779f3cece8b150fdba0c6f0
https://portal.m.test/customer/register?token=753846f19d36364bf306b392740e6343&signature=270a066fb9f17dccf32fab097d6b572197d045e10779f3cece8b150fdba0c6f0
13 replies
FFilament
Created by BlackShadow on 8/9/2024 in #❓┊help
Custom register page (register link on login page)
So people can only access this page with the token and right signature.
13 replies
FFilament
Created by BlackShadow on 8/9/2024 in #❓┊help
Custom register page (register link on login page)
->registration(Register::class)
->registration(Register::class)
Revers to a custom page.
13 replies
FFilament
Created by BlackShadow on 7/12/2024 in #❓┊help
Filament Register Redirect
Return the register response:
<?php

namespace App\Http\Responses;

use Filament\Http\Responses\Auth\RegistrationResponse;
use Illuminate\Http\RedirectResponse;
use Livewire\Features\SupportRedirects\Redirector;

class CustomerRegisterResponse extends RegistrationResponse
{
public function toResponse($request): RedirectResponse|Redirector
{
return redirect()->route(''); // Replace with the route you want to redirect to.
}
}
<?php

namespace App\Http\Responses;

use Filament\Http\Responses\Auth\RegistrationResponse;
use Illuminate\Http\RedirectResponse;
use Livewire\Features\SupportRedirects\Redirector;

class CustomerRegisterResponse extends RegistrationResponse
{
public function toResponse($request): RedirectResponse|Redirector
{
return redirect()->route(''); // Replace with the route you want to redirect to.
}
}
8 replies
FFilament
Created by BlackShadow on 7/12/2024 in #❓┊help
Filament Register Redirect
Thanks! I will take a look.
8 replies
FFilament
Created by BlackShadow on 7/12/2024 in #❓┊help
Filament Register Redirect
Redirects to /admin which results in a forbidden page. But i want them redirected to /customers (tenancy).
8 replies
FFilament
Created by daisy21 on 7/6/2024 in #❓┊help
Form outside panel wont apply some classes
Not sure how i can help you more, check your configs, check your stylesheet.
32 replies
FFilament
Created by daisy21 on 7/6/2024 in #❓┊help
Form outside panel wont apply some classes
Yea so your classes are not being picked up
32 replies
FFilament
Created by daisy21 on 7/6/2024 in #❓┊help
Form outside panel wont apply some classes
🤷‍♂️
32 replies
FFilament
Created by daisy21 on 7/6/2024 in #❓┊help
Form outside panel wont apply some classes
Double-check your Tailwind configuration and verify if the classes are present in the stylesheet. If the classes are missing, it means your configuration isn't detecting your Blade files. You'll need to check your configuration settings. That's all the help I can provide 🤷‍♂️
32 replies
FFilament
Created by daisy21 on 7/6/2024 in #❓┊help
Form outside panel wont apply some classes
Try this.
32 replies
FFilament
Created by daisy21 on 7/6/2024 in #❓┊help
Form outside panel wont apply some classes
import preset from '../../../../vendor/filament/filament/tailwind.config.preset'

export default {
presets: [preset],
content: [
'./app/Filament/**/*.php',
'./resources/views/filament/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
'./resources/views/livewire/**/*.blade.php',
],
}
import preset from '../../../../vendor/filament/filament/tailwind.config.preset'

export default {
presets: [preset],
content: [
'./app/Filament/**/*.php',
'./resources/views/filament/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
'./resources/views/livewire/**/*.blade.php',
],
}
32 replies
FFilament
Created by daisy21 on 7/6/2024 in #❓┊help
Form outside panel wont apply some classes
Pretty sure you tailwind config is messed up.
32 replies
FFilament
Created by daisy21 on 7/6/2024 in #❓┊help
Form outside panel wont apply some classes
Check your tailwind.config.js and change ./resources/views/livewire//*.blade.php to ./resources/views/livewire/*.blade.php and run npm run build and try again.
32 replies
FFilament
Created by daisy21 on 7/6/2024 in #❓┊help
Form outside panel wont apply some classes
Because you added './resources/views/livewire//*.blade.php' but it has double //
32 replies
FFilament
Created by daisy21 on 7/6/2024 in #❓┊help
Form outside panel wont apply some classes
Where is this custom view located?
32 replies