abdullafahem
abdullafahem
FFilament
Created by abdullafahem on 12/23/2024 in #❓┊help
DWG Mime Type
Hi guys is there any chance to add dwg files into FileUpload because I don't think so it has by default this mime type. Please any solutions???
11 replies
FFilament
Created by abdullafahem on 12/5/2024 in #❓┊help
Query Strings in Action
Hi guys! I need a solution, I have this action: Actions\Action::make('go-back') ->color('secondary') ->label('الرجوع') ->icon('heroicon-o-arrow-left') ->url(route('filament.admin.resources.projects.edit', $this->record->project_id)), But when I have more than one Relation Manager it always redirect to the first relation manager it is possible to pass also the activeRelationManager as a params if it please help me how? Thank you!
6 replies
FFilament
Created by abdullafahem on 10/31/2024 in #❓┊help
Reorder Table with Relation Manager
Is it possible to use ->reorderable('id'); in the table?
8 replies
FFilament
Created by abdullafahem on 10/29/2024 in #❓┊help
TextareaColumn
Is there any possible to make a textareaColumn because I have a table that is all with TextInputColumn, that users make changes in table but I have notes in the end of the table and I need it to show all the content for example with 4 rows Is there any solution for this.
9 replies
FFilament
Created by abdullafahem on 10/16/2024 in #❓┊help
Label for Table Actions
Hi is there any solution to add Actions label in table for example now in the columns does not have any label I need to add "Actions" as a label in column
6 replies
FFilament
Created by abdullafahem on 9/25/2024 in #❓┊help
Sticky Action Column
No description
17 replies
FFilament
Created by abdullafahem on 9/19/2024 in #❓┊help
Listing in Resource
Is it possible to remove list in resource, I don't need to show it also I don't need anyone to put the URL and can access it Any solution please
10 replies
FFilament
Created by abdullafahem on 7/17/2024 in #❓┊help
Show latitude and longitude in Hidden
Hi is there any chance to show by default the value of latitude and longitude in a Hidden, I need not to show them but I need the values to store in DB
8 replies
FFilament
Created by abdullafahem on 7/4/2024 in #❓┊help
Repeater Fields to TextColumn
Hi, I have a Repeater with one field stage_name and I need to display it in table but when I display it shows all stages name how to show only the last stage name? Thank you!
20 replies
FFilament
Created by abdullafahem on 6/3/2024 in #❓┊help
Table Actions Fixed Width
Is there any chance for table action like edit/delete to be fixed width if we have more than column the action should be fixed not need to go in the end of the table to click the actions?
39 replies
FFilament
Created by abdullafahem on 5/8/2024 in #❓┊help
Form in Dashboard
How to display a form in dashboard to collect data from users?
4 replies
FFilament
Created by abdullafahem on 5/6/2024 in #❓┊help
Filament Export Action
Hi, I have this code for exporting it still work in Laravel 10 and Filament v3.2, but now I tried the same code in Laravel 11 Filament v3.2, it doesn't work. I see the problem doesn't create a filament_exports folder in public/storage. ExportAction::make() ->label('تصدير') ->color('red') ->icon('heroicon-o-arrow-down-tray') ->exporter(ContactExporter::class) ->formats([ ExportFormat::Xlsx, ]) ->fileName(fn (Export $export): string => "تصدير المساهمين-{$export->getKey()}") ->after(function () { $id = Export::latest()?->first()?->id; $path = 'filament_exports/' . $id . '/تصدير المساهمين-' . $id . '.xlsx'; // you can change the filename based on the Exporter if (Storage::disk('public')->exists($path)) { return response()->stream( function () use ($path, $id) { $stream = Storage::disk('public')->readStream($path); dd($stream); fpassthru($stream); fclose($stream); Storage::disk('public')->deleteDirectory('filament_exports/' . $id); Export::truncate(); }, 200, [ 'Content-Type' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'Content-Disposition' => 'attachment; filename=' . $id . '.xlsx', ] ); } else { abort(404, 'الملف غير موجود.'); } }) Any solution please?
10 replies
FFilament
Created by abdullafahem on 4/28/2024 in #❓┊help
Relation Manager not in modal
I need from a Relation Manager to be open not in a modal but in a new page, but that page should have another Relation Manager down. Is there any solution?
1 replies
FFilament
Created by abdullafahem on 2/26/2024 in #❓┊help
Using createOptionForm
Hi I am using createOptionForm, I used in version 2 and worked well but in version 3 it shows me that I need to use createOptionUsing but I don't know why. Any solution???
4 replies
FFilament
Created by abdullafahem on 2/26/2024 in #❓┊help
Change a date field from a child status field
Hi guys! I have a Project resource and his Units as a Relation Manager, in the project resource I have a date that should be changed automatically if a unit status changed from available to sold. Any solution please
4 replies
FFilament
Created by abdullafahem on 2/10/2024 in #❓┊help
Same model different Relation Managers
Hi guys! Is there anyway to filter the same model to different Relation Managers. For example I have Unit the model from this I have 3 Relation Managers 1) Apartments 2) Roofs 3) Villas, but now when I create an Apartment it shows in other Relation Managers. Please any solution!
5 replies
FFilament
Created by abdullafahem on 2/5/2024 in #❓┊help
PDF area height
No description
12 replies
FFilament
Created by abdullafahem on 2/4/2024 in #❓┊help
The POST method is not supported for route login. Supported methods: GET, HEAD.
Hi guys! I am deploying a Laravel FilamanetPHP app in my VPS and after I login in show me this error. What should I do? Please any solution?
21 replies
FFilament
Created by abdullafahem on 12/5/2023 in #❓┊help
Count with Eloquent
I have a "project" table and I want to count projects by status. Any solution please?
6 replies
FFilament
Created by abdullafahem on 12/1/2023 in #❓┊help
Date disable before today
Hi, guys! How can I disable the dates before today in DatePicker?
3 replies