Dhru
tabs on relation manager position start, is that possibe?
Not sure but you can probably do this with just .css don’t need to override the html etc.
So just publish a theme look up what the filament identifier is for the tabs
And try to align left
13 replies
Restrict non filament panel user, accessing filament admin panel.
this how i solved a similar problem (changed a few things from my code to remove some extra logi but the basis are
first you need to add this to your panel provider (will usually be called adminpanelprovider.php and will be in app/http/providers/filament/ directory in your laravel project)
->authMiddleware([ Authenticate::class, \App\Http\Middleware\VerifyAccessStatus::class, ]);Then create the logic for this class
namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Symfony\Component\HttpFoundation\Response; class VerifyAccessStatus { public function handle(Request $request, Closure $next): Response { // logic goes here // if admin etc. //return redirect()->route // return $next($request); } }
8 replies
Logout Route
https://filamentphp.com/content/tim-wassenburg-how-to-customize-logout-redirect
here is a tutorial for your exact problem, I just implemented it and it works fine for me
9 replies
Help Us Improve Filament’s Docs & Education in v4
i had the same issue
This is not a good fit for the docs, but I would love to see one of the content creators make a tier list of filament customization options ranked in terms of effort it takes. maybe one for tables, one for forms etc.
69 replies
Optimizing file upload for large files avoid slow move on save
https://filamentphp.com/docs/3.x/forms/fields/file-upload#moving-files-instead-of-copying-when-the-form-is-submitted
I think you are looking for the ->moveFiles()
Method
8 replies
Filament Form + Livewire: Updating Field Without Saving to Database
maybe something like...
Action::make('example')
->label('Generate Example")
->action(function ($livewire) {
$form = $livewire->form->getState();
$form["example"] = "example text";
$livewire->form->fill($form);
}),
6 replies
Automatic Sum of Selected Bulk Action item column
I think there are a basic of issues beyond stuff that requires data back and forth via livewire with the bulk actions that I outlined in a discussion here
https://github.com/filamentphp/filament/discussions/15576
Didn't seem to be much interest. But let me review the contribution guidelines and see if I can make a PR
8 replies
Automatic Sum of Selected Bulk Action item column
The bulk actions stuff is a weak spot in filament tables imo.
Lacking in customization ability I have resorted to using recordClasses to set a custom cas class for the rows and then JavaScript to update stuff.
8 replies
Is there a way to select a row by clicking it in a resource?
found this while searching around
https://www.answeroverflow.com/m/1279979368168296610
seems quite hacky though not sure if there is a better solution
3 replies
Delete a resource icon.
i think has to do with some plugin you are using
one thing you can try is make a blank .svg file
and use a custom icon as follows
https://filamentphp.com/docs/3.x/support/icons
13 replies