- 139
- 399 069
Filament Daily
Lithuania
Приєднався 20 сер 2023
Quick tips and tricks about the Laravel Filament system.
Filament Navigation Menu Items by Logged-in User
A practical example of multi-tenancy: showing the user's resources in the sidebar on the left.
Related example: CMS Blog with Shield Roles and Permissions filamentexamples.com/project/cms-with-shield-plugin-roles-and-permissions?mtm_campaign=youtube-split-stack
More Filament examples on our website: filamentexamples.com
Related example: CMS Blog with Shield Roles and Permissions filamentexamples.com/project/cms-with-shield-plugin-roles-and-permissions?mtm_campaign=youtube-split-stack
More Filament examples on our website: filamentexamples.com
Переглядів: 1 184
Відео
Filament Split and Stack: More Complex Table Columns
Переглядів 1,4 тис.9 годин тому
A quick example showing how you can fit more data in one table column, splitting/stacking it. Official docs: filamentphp.com/docs/3.x/tables/layout Source of the official Filament demo: github.com/filamentphp/demo/blob/f1a88f86fc726fb395b532f53ddcb701489b216c/app/Filament/Resources/Blog/AuthorResource.php#L60 More Filament examples on our website: filamentexamples.com
Filament Plugin: Advanced Widgets for Dashboard Customizations
Переглядів 2,3 тис.21 годину тому
Demonstrating a new plugin with a small demo project. Links mentioned in the video: - Plugin repository: github.com/eighty9nine/filament-advanced-widgets - Our course "Filament: Visual Customizations": laraveldaily.com/course/filament-visual-customize?mtm_campaign=youtube-filament-advanced-widgets - Our Filament example "Custom Theme with Material Design": filamentexamples.com/project/custom-th...
Filament Relation Managers: 3-in-1 Practical Example
Переглядів 1,4 тис.День тому
An open-source example of multiple relation managers for one resource. Source: github.com/frikishaan/tiny-crm More Filament examples on our website: filamentexamples.com
Filament Gaze: What if Multiple Users Edit At The Same Time?
Переглядів 1,6 тис.День тому
A new Filament plugin to show the warning if another user has opened the form simultaneously, with ability to take control based on condition. Link to plugin: filamentphp.com/plugins/discoverydesign-gaze More Filament examples on our website: filamentexamples.com
Filament: FileUpload Layout Horizontal Grid
Переглядів 1,4 тис.14 днів тому
A quick "trick" to change the thumbnail positions for FileUpload field with multiple images. Docs: filamentphp.com/docs/3.x/forms/fields/file-upload#displaying-files-in-a-grid Link to PR: github.com/filamentphp/filament/pull/13610 More Filament examples on our website: filamentexamples.com
Filament: Key-Value Pair Field to Save Unstructured JSON
Переглядів 91914 днів тому
Another example from the Cachet dashboard. Source: github.com/cachethq/core/blob/3321dbab6b533cc737c223f4310a6dd2e4b02cc0/src/Filament/Resources/ComponentResource.php#L47 Filament Docs about Key-Value: filamentphp.com/docs/3.x/forms/fields/key-value More Filament examples on our website: filamentexamples.com
Customizing Filament Visually: New COURSE!
Переглядів 2,2 тис.14 днів тому
Presenting my new mini-course about changing the Filament look: colors, render hooks, Tailwind, and more. Full course: laraveldaily.com/course/filament-visual-customize?mtm_campaign=youtube-filament-customize-main
Filament Plugin: Spatie Settings - Practical Example
Переглядів 2,1 тис.21 день тому
A showcase of Spatie Settings plugin for Filament. Spatie Settings plugin page: filamentphp.com/plugins/filament-spatie-settings Source in Cachet: github.com/cachethq/core/blob/3321dbab6b533cc737c223f4310a6dd2e4b02cc0/src/Filament/Pages/ManageCachet.php#L13 More Filament examples on our website: filamentexamples.com
Filament: ToggleButtons with ENUMs - a Great Combination
Переглядів 1,5 тис.21 день тому
An example of ToggleButton for selecting various options. Source: github.com/cachethq/core/blob/3321dbab6b533cc737c223f4310a6dd2e4b02cc0/src/Filament/Resources/ComponentGroupResource.php#L33 More Filament examples on our website: filamentexamples.com
Filament: Static Text Custom Widgets on the Dashboard
Переглядів 1,6 тис.21 день тому
Cachet project has an example of very simple widgets that I wanted to show. Source: github.com/cachethq/core/tree/3321dbab6b533cc737c223f4310a6dd2e4b02cc0/src/Filament/Widgets More Filament examples on our website: filamentexamples.com
Filament: Update Field in Edit Form or Table Action
Переглядів 1,4 тис.28 днів тому
Example of Cachet Filament dashboard: for repeating update operations, you may add them to the table as an action. Source: github.com/cachethq/core/blob/3321dbab6b533cc737c223f4310a6dd2e4b02cc0/src/Filament/Resources/ScheduleResource.php#L74 More Filament examples on our website: filamentexamples.com
Filament Hint as a Link with Dynamic Text
Переглядів 863Місяць тому
Example from open-source Cachet project with an input hint that is built dynamically with different link/text. Source: github.com/cachethq/core/blob/3321dbab6b533cc737c223f4310a6dd2e4b02cc0/src/Filament/Resources/IncidentTemplateResource.php#L37 More Filament examples on our website: filamentexamples.com
Filament Shield for Roles and Permissions: Demo Blog
Переглядів 2,8 тис.Місяць тому
A new project on our Filament Examples, showcasing Shield plugin. Let me show you how it works. Plugin page: filamentphp.com/plugins/bezhansalleh-shield Full source code: filamentexamples.com/project/cms-with-shield-plugin-roles-and-permissions
Filament Peek Plugin: Preview for Pages and Live Editor
Переглядів 1,8 тис.Місяць тому
If you're working with a CMS project and want to quickly preview how the post would look, this plugin can help. Link: filamentphp.com/plugins/pboivin-peek More Filament examples on our website: filamentexamples.com
Filament Multi-Tenancy: Example of One Team per User
Переглядів 1,4 тис.Місяць тому
Filament Multi-Tenancy: Example of One Team per User
Filament: How To (Better) Search the Docs
Переглядів 1,2 тис.Місяць тому
Filament: How To (Better) Search the Docs
Filament: Auto-Open Modal on Page with Default Action
Переглядів 1,7 тис.Місяць тому
Filament: Auto-Open Modal on Page with Default Action
Filament: "Leave Site" Alert After Form Changes
Переглядів 1 тис.Місяць тому
Filament: "Leave Site" Alert After Form Changes
Filament Theme with Material Design: Code Overview
Переглядів 2,6 тис.Місяць тому
Filament Theme with Material Design: Code Overview
Slow Modals in Filament: Livewire Performance Issue
Переглядів 2,6 тис.Місяць тому
Slow Modals in Filament: Livewire Performance Issue
Filament Plugin: Select Tree for Multi-Level Categories
Переглядів 1,6 тис.Місяць тому
Filament Plugin: Select Tree for Multi-Level Categories
Filament: 6 FREE Open-Source Projects from GitHub
Переглядів 4,4 тис.Місяць тому
Filament: 6 FREE Open-Source Projects from GitHub
Filament Roles: Single vs Multiple Panels Example
Переглядів 2,2 тис.Місяць тому
Filament Roles: Single vs Multiple Panels Example
NEW in Filament: Preview of Builder Blocks
Переглядів 1,9 тис.Місяць тому
NEW in Filament: Preview of Builder Blocks
Filament: User / Team Admin / Super Admin - Boilerplate
Переглядів 2 тис.Місяць тому
Filament: User / Team Admin / Super Admin - Boilerplate
Filament: Confirmation Modal on Create Submit Button
Переглядів 1,6 тис.2 місяці тому
Filament: Confirmation Modal on Create Submit Button
Filament "Live" Fields: Loading Indicator
Переглядів 1,9 тис.2 місяці тому
Filament "Live" Fields: Loading Indicator
Filament Performance: 1M DB Rows - Benchmark
Переглядів 5 тис.2 місяці тому
Filament Performance: 1M DB Rows - Benchmark
Filament Plugin: Record Navigation from Edit Page
Переглядів 1,7 тис.2 місяці тому
Filament Plugin: Record Navigation from Edit Page
Hello friends, I'm learning to make a Laravel application using Jetstream (user) and Filament (admin). Why doesn't the image sent by (user) appear in the Filament (admin) edit table? Can anyone help me here? thank you, god bless.🙏
pagination? if too long or limit 10 order by latest
No there's no pagination in the sidebar, it's not a full table there
I love the advanced stuff like this.
Instead of a middleware, you can use the booted method of Filament panel providers to achieve the same thing: ->booted(function (): void { // Logic here })
Awesome! pretty usefull! This is advanced Filament development, hard to find in the internet. Please, do more tutorials like this one!
You’re the best! 🙌🏽
Is it possible to have the new NavigationItem in a specific point of NavigationMenu? How can i do if i want to have "My Projects" always below of "Projects"? Thanks in advance
You can use sorting for that, check the filament docs.
Check the docs. It's written under the Panels customization.
Thank you So much
Very useful thank you ❤
Thanks!
Can we add a colomn in the table that contain à modal form action ? Like in this present exemple, author has email information with icon and so on, and when we click on this information that it open a modal form (filament form) like button action . How do that please ?
Not sure, haven't done it myself.
Make a custom livewire component for the form and action. Use a view column in the table and from the view load your livewire component. Make sure it has unique livewire key and make it lazy load so it does not slow down the table.
@@BotFDR can you show us an example please ?
Keep it up, Amazing Project
My biggest concern in Split and Stack, when you use it, the columns header dissapears, and you cant name it, unless you put a row to the top of it. I use it with IconColumns, and a user, who doesn't know my project, has no idea whats the icons indicate.
For a workaround you can add description with position "above" and will be just like a label
This doesn't make sense, how are you going to create widgets in the vendor folder if it's not commited
Im crazy to start new theme using Flowbite.
Thank you for the useful tip. I am wondering how to make the relation manager manageable on that view page, such as creating, editing, and deleting data, but only within the view page. Is there any solution for that?
Thank you for this video. When I send database notifications, even with broadcast activated, I don't get the pop-up notification, I just get the number next to the alert icon that get's bumped up. Did you have to do something custom to get this to work on your end or do I have something broken on my end? Thanks!
I don't think of anything custom, hard to answer without debugging your code
@@FilamentDaily alright, it helps just to know the problem is on my end ☺️. Thank you for answering so fast, I’ll debug it when I got a chance. Thx again!
Hello, how to use many to many with three tables, example, a teacher has several classes and each class has several students... how to fax this on the teacher's page, thank you
Probably create a specific Accessor in Teacher model that would go foreach all relationships and combine what you need. There's no such thing as two level many-to-many relationship, it doesn't make sense.
Is there any way to make date range filter?
very nice , i will use it, thank you
best ever, but still hope for table modifications
what modifications?
This is exactly what I have been looking for. Thank you.
I want to create an online course app and the relation is Course hasMany CourseSection hasMany CourseLesson. Do u have some advice about the best practice to create the course in one page using filament?
You're maybe talking about Nested Resources. We have written a tutorial for it: laraveldaily.com/post/filament-v3-nested-resources-trait-pages
@@FilamentDaily woahh thankyou, it's relate to my case
Thanks for sharing my project. That bulk delete trick is actually taken from official filament demo.
Thank you so much for sharing your code. It means a lot when you're a new in filament
Very buggy. Need to work on
What does it use to detect the change in control since it seems to do that without refreshing the page? Is it JavaScript polling or websockets, or something else?
I think it's polling
Can you please make a video on how the Filament Map plugin can be used to show the available restaurants in the map
I haven't seen a well working plugin for this. It's a custom functionality with JavaScript API by Google Maps.
@@FilamentDaily oh, I qas needed that functionality. Can we have any alternatives?
This plugin has one drawback. He works through a survey. It would be great if it could be configured to work via websockets. On the other hand, the admin panel is not the place where there will be too many requests.
I have been following your videos for a long time, I would like to know if you can help me because text inputs with numeric data are not limited even if I set maxValue, minValue, maxLenght or minLenght.
Can't answer in a comment, needs debugging with your full code
can we send mails on data base updates through Filament notifications? if yes how can we do that example: i have a model questions which belongs to user model question model has a enum attribute 'status' with default value of 'in-review'. whenever the admin changes the status for 'in review' to 'published' or 'rejected' then a notification mail has to be sent to the appropriate user. how can we do this.
nice package i never knew there was such package. Thank you
Hello, very good and important plugin for working in a team... is there any way to keep track of who created or changed the record... it would be a way to limit who can edit or take control of the edit. congratulations on your work
the are some activity log packages you should check out the plugins
With this idea, contact the package author on GitHub :)
Great... I was looking for this
Hello, I created a table widgets with a table with global filters and it gives this error... "Typed property Filament\Widgets\TableWidget::$table must not be accessed before initialization" can you hell me ?
Impossible to quickly help without debugging, sorry.
is there a simple way to create a page inside a resource and fill it with widgets? like a "statistics" page? I can't find a proper way. Thanks
That should be a Custom page then, not Resource. But if you give more specific details via email povilas@laraveldaily.com I can try to create an example.
Hi, excellent explanation. But it only works with the graphical interface, with the command php artisan make:filament-user , it gives an error. Regards
I've tried this feature, and found out that we also need to cast the column to their enum to make it automatically show on the table
Is there a way in filament itself to automatically remove the old one when updating an image? I am currently coding in the after or before methods of the resource.
Ok, you overwrite a Laravel translation here, but how does it work with actual filament translations from src/vendor/filament/tables/resources/lang/ ? They are not published using "lang:publish" and also "vendor:publish --provider=filament" didn't do anything.
yes they are published. check filament docs under panel installation page
thanks a lot!
Some guide required for upgrading filament version in production server, what steps to take?
Very nice
can you make a video about torchlight i heard you talk about it i read the docs looks cool
There's not much to talk about it in a video, it's all in their docs
I must admit that Filament’s documentation is horrible. Very messy. Never had this problem with Nova documentation for example.
I see FileUpload great for uploading images, but what about other types of files? Like PDFs ... is there a nice Uploader with preview? and a way to download the PDF. Should I use a TextField? not very nice... Thanks!
I think FileUpload is used for PDFs, too. Not sure about preview, haven't done that personally.
SpatieMediaLibraryFileUpload? I thought FileUpload is the only one to use... Is this class inherited from FileUpload? Can you show another examples next time? Thanks!
is an official plugin for the spatie medialibrary package
Can you make some video or text me how to show an uploaded image on the edit form. For example, in the create the form I put an image, that image was stored in S3 but on the edit form it didn't show up, it shows like the image does not exist. Image is a varchar value in the database and stores only the file name not the full image path.
if you are using s3 then it's not filament problem or even laravel. it's your setup problem. if you would check console I'm 99% sure you will see cors errors
@@krekas I do not see any errors in the console. Only I see that for some reason get this: $form->getRecord() gets the object without full URL to the image, even has accessor that sets full image URL, if dd $form->getRecord()->getImageAttribute() then get the full path to the image.
I remember someone complaining about that exact thing that images from s3 don't show, and I remember that it was indeed something with how s3 was setup (permissions maybe?) but I don't remember exactly what was the solution, sorry
Like it - filament is powerful and needs more documentation
Same issue here (Filament 3.2.97)
like