Arzu
Arzu
FFilament
Created by Arzu on 11/9/2024 in #❓┊help
notifications are not added to the notification modal
i found the issue, not sure why it is happening. to setup the entire notification operation i used the docs of filament. the issue was in the file "vendor/filament/notifications/src/livewire/databasenotifications.php" in line 86 we got return $this->getUser()->notifications()->where('data->format', 'filament'); my problem was the data format, but i dont know how to change the notifications data format to filament or what that means.
5 replies
FFilament
Created by Arzu on 11/9/2024 in #❓┊help
notifications are not added to the notification modal
Yes i did
5 replies
FFilament
Created by Arzu on 7/11/2024 in #❓┊help
Vite not loading on server?
the strange thing is the admin panel works, but the home page and user panel are not, they are broken and trying to run the vite locally for some reason
6 replies
FFilament
Created by Arzu on 7/11/2024 in #❓┊help
Vite not loading on server?
i ran it on the server as well, succedded and made sure i have the build files. still same issue
6 replies
FFilament
Created by Arzu on 12/13/2023 in #❓┊help
dynamically add fields based on an array
if anyone intrested, i solved it. basically whenever i want to add fields to the form i can just use the function $this->form->schema(). the issue is that it will overwrite the previous one and only add the latest. so my solution for this was to run a loop of forms, store them in an array and just $this->form->schema($array) the array contains a normal schema syntax.
3 replies
FFilament
Created by Arzu on 12/10/2023 in #❓┊help
Manipulating CSV inside the form, or function in form
I got lost in my own code, and i dont think the importer function will work for me unless im using it incorrectly. what i want is this: i want to select a CSV file with game data and analytics. i want the system to analyze the CSV file and process it (combining rows if needed, or using it as is) then it will have a list of games and its data, i want it to create a row in one table with the user choosing the name of the player and such in a table called GameRecord and the data from the csv, to insert it into a GameRecord_meta table based on key value structure. i managed to process the csv file, the question is how do i create a section of form for each player hope my explanation is understandable.
8 replies
FFilament
Created by Arzu on 12/10/2023 in #❓┊help
Manipulating CSV inside the form, or function in form
i cant get the file before the submit, is there a way to upload it instantly and then work with it?
8 replies