walyson_
walyson_
FFilament
Created by walyson_ on 8/2/2024 in #❓┊help
Notifications
Guys, have you ever had a problem with notifications? I'm making an insertion in my customers table and I needed a notification to be displayed when registered. Registration takes place through an end-point on a route that I created to receive an external request. Reading the documentation I saw databaseNotifications. There in my AdminPanelProvider I placed the property: ->databaseNotifications(); So far, it was a great show, it ran smoothly and appeared on the panel. Then I ran the notification migration, everything was fine too. I created a CustomerObserver observer, and in the creation function I did:
public function created(Customer $customer): void
{
Notification::make()
->title('Saved successfully')
->body('Customer created successfully')
->sendToDatabase($customer);
}
public function created(Customer $customer): void
{
Notification::make()
->title('Saved successfully')
->body('Customer created successfully')
->sendToDatabase($customer);
}
Also, in my EventServiceProvider in the method:
public function boot(): void
{
Customer::observe(CustomerObserver::class);
}
public function boot(): void
{
Customer::observe(CustomerObserver::class);
}
I made this modification. However, despite everything, the notification was not registered in the bd nor displayed.
46 replies
FFilament
Created by walyson_ on 3/14/2024 in #❓┊help
recursive table
No description
3 replies
FFilament
Created by walyson_ on 3/10/2024 in #❓┊help
tables with indexed columns
No description
2 replies
FFilament
Created by walyson_ on 3/1/2024 in #❓┊help
Filter widget
2 replies
FFilament
Created by walyson_ on 3/1/2024 in #❓┊help
filter widget
No description
2 replies
FFilament
Created by walyson_ on 2/28/2024 in #❓┊help
:bangbang: CREATING A FILE MANAGER :bangbang:
Good night guys I need to make a simple file manager. The main idea is just for the user to be able to register and build folders and within the folders the possibility of registering subfolders or attaching files. Can anyone help me with any ideas on how to build this on filament?
11 replies