SheepBild
SheepBild
FFilament
Created by SheepBild on 11/5/2024 in #❓┊help
Install Spark with Stripe
Hello, has anyone already made the multitenancy with Spark and Stripe working ? I tried for 2 days, it's impossible for me to set it up correctly because it's always asking for Paddle API key... Paddle API error 'Authentication header included, but incorrectly formatted.' occurred Any idea on how to manage it ?
4 replies
FFilament
Created by SheepBild on 4/2/2024 in #❓┊help
Full width FilamentPHP
No description
7 replies
FFilament
Created by SheepBild on 12/2/2023 in #❓┊help
Add auth()->user() to shouldRegisterNavigation()
How to use auth()->user() function or access authenticated user through shouldRegisterNavigation() function ? :
public static function shouldRegisterNavigation(array $parameters = []): bool
{
return false;
}
public static function shouldRegisterNavigation(array $parameters = []): bool
{
return false;
}
5 replies
FFilament
Created by SheepBild on 12/2/2023 in #❓┊help
Connect as
Do you know how to make a connect as function ? https://filamentphp.com/docs/3.x/panels/users With Laravel/UI I use this function :
public function connect_as($id){
Session::put('rollback', \Auth::user()->id );
Auth::loginUsingId( $id );

return Redirect()->route('home');
}
public function connect_as($id){
Session::put('rollback', \Auth::user()->id );
Auth::loginUsingId( $id );

return Redirect()->route('home');
}
Thank you
6 replies
FFilament
Created by SheepBild on 11/13/2023 in #❓┊help
TimePicker default doesn't work
I can't find how to set a default time to TimePicker object in form. This code doesn't work :
TimePicker::make('duree_seance')->default('01:00')->seconds(false)->native(false)
TimePicker::make('duree_seance')->default('01:00')->seconds(false)->native(false)
5 replies
FFilament
Created by SheepBild on 10/31/2023 in #❓┊help
Is this possible to make a select like that with form ?
No description
4 replies
FFilament
Created by SheepBild on 10/28/2023 in #❓┊help
hidden filter on table
Hello, I have two menus which points on User model : "Customer" and "Professional". I created a resource named ClientResource who has to retrieve User with "is_customer = 1" and ProfessionalResource who has to retrieve those with "is_professional = 1". How to filter by default, hidden and not modifiable on table ? I can't find any way to do this in the doc Thank you
4 replies
FFilament
Created by SheepBild on 10/7/2023 in #❓┊help
Best practice : Multiple pages on Resource
Hello, I have a more theorical than practical question : I make an application for yoga, trainings, workshops reservations. Each of these section of the menu has 3 pages : - List of objects (eg : list of yoga courses with CRUD) - List of events (eg : list of yoga sessions with CRUD on "Event" object) - Calendar of event (eg : list of yoga sessions in a calendar view (with Saade plugin) I tried to make 3 pages in my YogaResource folder but I can't find how to register navigation for a Page of a Resource ; these functions doesn't work :
protected static ?string $modelLabel = 'TEST';

public static function shouldRegisterNavigation(): bool
{
return true;
}
protected static ?string $modelLabel = 'TEST';

public static function shouldRegisterNavigation(): bool
{
return true;
}
5 replies
FFilament
Created by SheepBild on 9/2/2023 in #❓┊help
Add CSS files to head for custom Livewire components
Hello, I made a custom Livewire component inside a widget which is inside a page. But when in this component I try this code :
text-green-500
text-green-500
it doesn't work. Is there a way to add full TailwindCSS library to the project ? Or to rebuild it in a file and add it to head of the app through maybe @push('styles') ? Thank you !
4 replies
FFilament
Created by SheepBild on 8/26/2023 in #❓┊help
Registration
I can't find how to activate user registration in docs... Is it yet implemented ?
4 replies