luciano.mizra
Explore posts from serversHot refresh
I was unaware, but the key is to use this plugin:
https://github.com/defstudio/vite-livewire-plugin It boosts your productivity by 1000 times!
https://github.com/defstudio/vite-livewire-plugin It boosts your productivity by 1000 times!
3 replies
Filament Multi-Select Not Loading Default Values from Third Table (Not Pivot Table)
As far as I understand (I didn't check),
If you are modifying the way it is saved, you should also modify the way you retrieve it. For that, you have:
getSearchResultsUsing()
4 replies
Statamic or Filament as CMS, and maybe more, for my App
Questions I would personally ask myself:
Do we want to quickly resolve something as simple as a CMS? Use a CMS.
Do we want to add functionalities outside of what would be a CMS, such as CRM, workflows, etc.? Use Filament.
13 replies
Statamic or Filament as CMS, and maybe more, for my App
Filament is incredible, I would personally choose it over any other panel, I don't know how you came to that conclusion.
Maybe it's because my English is bad and I express myself poorly.
What I'm getting at is if you want a CMS ready for your project, Statamic or Twill CMS, even WordPress, are options that solve your problem from the root.
Filament, while it has good plugins for creating incredible CMSs, you will have to work more, it will be more fun, and you will achieve results more similar to what you imagine.
In the end, Filament is flexible and prepared to create any system, I think that's the difference with Statamic.
Not to mention it's fully open-source!
13 replies
Dynamic Badge Count on Sub Navigation Relation Page
Clusters is the official recommended option, if you want to see other options watch this video: https://youtu.be/cpbWn42Is6A?si=el-43knIaDzVAwYF
8 replies
Accessing Model /ResourceIn Widget
Filament components are an extension of Livewire components, as always you have the corresponding hooks available:
https://livewire.laravel.com/docs/lifecycle-hooks
For example you could use mount:
public function mount(): void
{
$this->model = Model::class;
}
3 replies
Statamic or Filament as CMS, and maybe more, for my App
Statamic is an amazing CMS that already has all the main features you might need, and you should probably use their paid version.
Filament is a nice tool to create the features you need, but you have to create them yourself or use third-party plugins.
Probably the best option to create a CMS is not to reinvent the wheel. And the most fun way with Filament, the interesting thing about this tool is that it will be easier for you to add features outside of what concerns the CMS.
13 replies
Isolate CSS in BlocksPreview
I created a solution for now that simply creates an iframe with a route where I assign a layout with everything my front requires and then the data is synchronized with that of the renderPreview().
file: resources\views\vendor\filament-forms\components\builder.blade.php
5 replies