Alnuaimi
Alnuaimi
FFilament
Created by Alnuaimi on 4/24/2025 in #❓┊help
How to create custom column for display widget in table?
I solved it , the bug is Uncaught ReferenceError: externalTooltipHandler is not defined tooltip: { enabled: false,\ external: externalTooltipHandler } the solution is: remove external: externalTooltipHandler
12 replies
FFilament
Created by Alnuaimi on 4/24/2025 in #❓┊help
How to create custom column for display widget in table?
In table resource it is working,but in table relation manager doesn’t work
12 replies
FFilament
Created by Alnuaimi on 4/24/2025 in #❓┊help
How to create custom column for display widget in table?
In relation manger does not work
12 replies
FFilament
Created by Alnuaimi on 4/24/2025 in #❓┊help
How to create custom column for display widget in table?
I want to create chart for each one record if i want display that in header I have many charts
12 replies
FFilament
Created by Darshan_Bhandary on 4/23/2025 in #❓┊help
Filament configuration in Laravel Cloud
<?php namespace App\Models; use Filament\Models\Contracts\FilamentUser; use Filament\Panel; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable implements FilamentUser { // ... public function canAccessPanel(Panel $panel): bool { return true; } }
3 replies
FFilament
Created by Phuc Le on 3/31/2024 in #❓┊help
Multi tenancy with multiple database support
File::link("{$storage_path}/app/public", public_path("{$suffixBase}{$tenant->id}")); you mean that ?
71 replies
FFilament
Created by Phuc Le on 3/31/2024 in #❓┊help
Multi tenancy with multiple database support
yes ,this is important but before how to fix with local disk this is middleware for public you can look <?php namespace App\Http\Middleware; use Illuminate\Http\Request; use Closure; class FileUrlMiddleware { public function handle(Request $request, Closure $next) { config()->set( 'filesystems.disks.public.url', url('/' . config('tenancy.filesystem.suffix_base') . tenant('id')) );
return $next($request); } }
71 replies
FFilament
Created by Phuc Le on 3/31/2024 in #❓┊help
Multi tenancy with multiple database support
No description
71 replies
FFilament
Created by Phuc Le on 3/31/2024 in #❓┊help
Multi tenancy with multiple database support
look ,I want to use local disk with tenancyforlaravel ,every thing is ok but no display in form you can check my config
71 replies
FFilament
Created by Phuc Le on 3/31/2024 in #❓┊help
Multi tenancy with multiple database support
Thank you for your comment! I understand that you're suggesting using Authenticate for user verification and Policy for permission checks. In my case, the issue isn't with authentication or permissions, but rather with how to display files stored on the local disk (local disk) in the form. I’m using a Multi-Tenancy system, and the files are being stored correctly in each tenant's designated folders. However, when trying to display the file in the form, it doesn’t show up properly. I believe the issue might be with the file paths or how they’re being accessed. If you have any experience dealing with such cases, I’d be grateful to hear your suggestions! 😊
71 replies
FFilament
Created by Alnuaimi on 3/19/2025 in #❓┊help
private image with TenancyForLaravel
Step 1: Add the following code in the AppServiceProvider boot method. Storage::disk('local')->buildTemporaryUrlsUsing(function ($path, $expiration, $options) { return URL::temporarySignedRoute( 'local.temp', $expiration, array_merge($options, ['path' => $path]) ); }); Notice that URL::temporarySignedRoute receives route name local.temp, which we need to define. Step 2: Add the route in web.php Route::get('local/temp/{path}', function (string $path){ return Storage::disk('local')->download($path); })->name('local.temp'); I did it ,but not work
22 replies
FFilament
Created by Alnuaimi on 3/19/2025 in #❓┊help
private image with TenancyForLaravel
ok,but where I can write that ,I have two routes tenant.php and web.php
22 replies
FFilament
Created by Alnuaimi on 3/19/2025 in #❓┊help
private image with TenancyForLaravel
not
22 replies
FFilament
Created by Alnuaimi on 3/19/2025 in #❓┊help
private image with TenancyForLaravel
for private you need a temporary url builder with public ,Is it ok?
22 replies
FFilament
Created by Alnuaimi on 3/19/2025 in #❓┊help
private image with TenancyForLaravel
I think when use private disk not need storage link but if i change ->disk('public') is very ok no problem but when use ->disk('local') ->visibility('private') I have the problem
22 replies
FFilament
Created by Alnuaimi on 3/19/2025 in #❓┊help
private image with TenancyForLaravel
No description
22 replies
FFilament
Created by Alnuaimi on 3/19/2025 in #❓┊help
private image with TenancyForLaravel
What do you mean?
22 replies
FFilament
Created by Alnuaimi on 3/19/2025 in #❓┊help
private image with TenancyForLaravel
22 replies
FFilament
Created by Alnuaimi on 3/19/2025 in #❓┊help
private image with TenancyForLaravel
I have https the same problem
22 replies
FFilament
Created by Phuc Le on 3/31/2024 in #❓┊help
Multi tenancy with multiple database support
which middleware?
71 replies