Global Dashboard Filters | Filament 3 Tutorial for Beginners EP21
HTML-код
- Опубликовано: 20 фев 2024
- Welcome to our Filament php 3 course, in this video we will cover Global Dashboard Filters, it gives us the ability to filter our widgets and charts in custom dashboards or pages with a nice and easy to use api.
Filament 3 documentation link for topics covered:
filamentphp.com/docs/3.x/pane...
filament stats widget video:
• Stats widgets | Filam...
Course Playlist ( next episode ):
• Filament 3 course for ...
My Livewire 3 Course :
• Laravel Livewire 3 Cou...
If you would like me to make more Filament 3 videos, please let me know by liking the video and commenting what you like to learn next.
What is Filament PHP:
A free and open source admin panel builder for laravel using the TALL stack that allows you to build beautiful admin panel pages in just a few minutes.
Good job bro
Thanks You ! Very helpful !
Thanks for watching.
good job how to clear the filters because on refresh show the old selected filter
I'm still newbie with filament. This page filter would be great not on main admin dashboard page, but on one of sub pages, like users subpage where more users related data can be viewed. Maybe it is self explanatory to add it in subpages, if so ignore my comment, otherwise please consider making new video where this page filter with related stats and charts could be used on particular admin subpages. By the way, like all of your videos, great content keep it up, always waiting for more.
Thanks for watching. It's a very valid question, I cover adding the widgets to sub pages or resource pages in the latest episode : ruclips.net/video/TMnk5JmbrC4/видео.html
You can create multiple dashboards, one for each sub page. See Panel Builder Dashboard page on Filament docs
Thank you so much for Wonderful training , I couldn't resolve this Error : Undefined array key "Startdate"
This doesn’t work for custom pages. Any idea why? Pages generated by filament but not attached to a resource?
Hi there! I'm curious about uploading a single image that can be stored in multiple folders and resized differently for various purposes, such as creating thumbnails and displaying the full-sized image. How can we achieve this?
You might consider creating a video tutorial on this topic in the near future. Thanks! Watching from Ep1 to Ep21.
Thanks for watching. There a few different ways you can do this.
However, the easiest way I know is using spatie media library. It supports exactly what you have defined and automatically generates different versions of an image + also it can automatically optimize the images for you to save on storage.
github.com/spatie/laravel-medialibrary
I will try making a video about it soon.
Great tut. BTW, how do we include a link within a widget that will take us to another page? For instance, clicking on the total users count should redirect us to the page displaying all users.
Thanks for watching.
On Stat::make() you can call the url() method and pass the url for the page you want to redirect the user.
@@yelocode Cool thanks! It's working.