Haydra
Haydra
FFilament
Created by Haydra on 4/20/2025 in #❓┊help
database notification change table and body
yes indeed we all really appreciate the work you do for helping other developers thank you
15 replies
FFilament
Created by Haydra on 4/20/2025 in #❓┊help
database notification change table and body
sorry i forgot about this, because the issue is urgent
15 replies
FFilament
Created by Haydra on 4/20/2025 in #❓┊help
database notification change table and body
@toeknee can you help me with it ?
15 replies
FFilament
Created by Haydra on 4/20/2025 in #❓┊help
database notification change table and body
i'm trying to solve it, but i'm facing this issues
15 replies
FFilament
Created by Haydra on 4/20/2025 in #❓┊help
database notification change table and body
thank you, is there any resource i can use ?
15 replies
FFilament
Created by Haydra on 4/20/2025 in #❓┊help
database notification change table and body
@Mohamed Ayaou actually the table has some changes, this is the table i want to use
CREATE TABLE `notifications` (
`id` int(11) NOT NULL,
`object_id` int(11) NOT NULL,
`object_type` tinyint(3) NOT NULL,
`seen_date` timestamp NULL DEFAULT NULL,
`seen` tinyint(1) NOT NULL COMMENT '2= Not seen | 3 = seen',
`clicks` int(3) NOT NULL DEFAULT 0 COMMENT 'Number of Clicks',
`user_role` tinyint(1) NOT NULL COMMENT '2= user | 3 = super admin |4=Assistant Manager | 5=Financial Manager\r\n|6=General Manager',
`user_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`created_by` int(11) NOT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
CREATE TABLE `notifications` (
`id` int(11) NOT NULL,
`object_id` int(11) NOT NULL,
`object_type` tinyint(3) NOT NULL,
`seen_date` timestamp NULL DEFAULT NULL,
`seen` tinyint(1) NOT NULL COMMENT '2= Not seen | 3 = seen',
`clicks` int(3) NOT NULL DEFAULT 0 COMMENT 'Number of Clicks',
`user_role` tinyint(1) NOT NULL COMMENT '2= user | 3 = super admin |4=Assistant Manager | 5=Financial Manager\r\n|6=General Manager',
`user_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`created_by` int(11) NOT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
15 replies
FFilament
Created by Haydra on 4/20/2025 in #❓┊help
database notification change table and body
@cheesegrits
15 replies
FFilament
Created by Haydra on 4/12/2025 in #❓┊help
Nested Actions, Parent Form validation
i can use Hidden or Select, but i prefer using Select
7 replies
FFilament
Created by Haydra on 4/12/2025 in #❓┊help
Nested Actions, Parent Form validation
@toeknee is there a way to make a field hidden and alse send his value to the submit ? it's wizard step, mutating won't work
7 replies
FFilament
Created by Haydra on 4/12/2025 in #❓┊help
Nested Actions, Parent Form validation
thank you, i already tried this solution, but i ended up building modals with livewire components
7 replies
FFilament
Created by Haydra on 2/6/2025 in #❓┊help
Spatie Translatable non translated fields
@Lara Zeus i figured out the problem, when i removed the tab merge it worked fine why would this happen ? it's used in the edit page
public function hasCombinedRelationManagerTabsWithContent(): bool
{
return true;
}
public function hasCombinedRelationManagerTabsWithContent(): bool
{
return true;
}
9 replies
FFilament
Created by Haydra on 2/6/2025 in #❓┊help
Spatie Translatable non translated fields
could a recorded video helps ?
9 replies
FFilament
Created by Haydra on 2/6/2025 in #❓┊help
Spatie Translatable non translated fields
sorry, but i don't know how to test it on the repository what could cause the problem?
9 replies
FFilament
Created by Haydra on 2/6/2025 in #❓┊help
Spatie Translatable non translated fields
in the edit page, code:
protected function mutateFormDataBeforeSave(array $data): array
{
$post = $this->getRecord();
if ($post->status != $data['status'] && $data['status'] == PostConstants::PUBLISHED) {
$data['published_at'] = Carbon::now();
}
}
protected function mutateFormDataBeforeSave(array $data): array
{
$post = $this->getRecord();
if ($post->status != $data['status'] && $data['status'] == PostConstants::PUBLISHED) {
$data['published_at'] = Carbon::now();
}
}
the error :
Undefined array key "status"
Undefined array key "status"
the status is not disabled or hydrated, the problem happened after i used the translate plugin, and the when i add 'status' to the model translatable array the error was solved
9 replies
FFilament
Created by Haydra on 2/6/2025 in #❓┊help
Spatie Translatable non translated fields
the issue that any field not in the spatie translatable array defined in the model, is nit being recognized in the edit mutate
9 replies
FFilament
Created by malebestia. on 9/29/2023 in #❓┊help
Method Konnco\FilamentImport\Actions\ImportAction::table does not exist
@Dan Harrin i'm using it in relation manager and got the same error, is there anyway to fix use it in relation manager ?
11 replies
FFilament
Created by nazar on 10/16/2024 in #❓┊help
disable recordUrl
that's how it's done
13 replies
FFilament
Created by nazar on 10/16/2024 in #❓┊help
disable recordUrl
for this i think you should use recordUrl
13 replies
FFilament
Created by Haydra on 10/15/2024 in #❓┊help
bulk actions with large dataset
it's not an import, let's say it's bulk attaching (many-to-many) action
7 replies
FFilament
Created by nazar on 10/16/2024 in #❓┊help
disable recordUrl
did you try ? $table->recordAction(null)
13 replies