Alex Six
Statamic or Filament as CMS, and maybe more, for my App
So...Filament is shitty? I'm probably biased, but I think it's pretty great, to be honest 😉
Honestly though, I think both Statamic and Filament are great solutions for handling backend administrative work. Obviously I'm going to say that I'd use Filament for this any day of the week over Statamic, but as long as you're productive, I think you could get to the same place with both tools as far as a CMS goes.
One thing I'm admittedly not entirely sure about Statamic (though someone who has used it more might be able to tell me) is how it scales to functionality that isn't part of a CMS. I do know that Filament is fantastic for use-cases outside of a CMS as well, having built a lot of admin workflows separate from a CMS in the past. You could even split these features (CMS and anything else) into multiple panels with Filament, depending on who would need access, logical groupings, etc. etc.
13 replies
very Slow The request is pending
Let me point you to the "READ BEFORE POSTING" post. You will not get any help here until you read that and follow the steps, because no one knows any context about your problem. We're more than happy to help, but you need to help us help you.
https://discord.com/channels/883083792112300104/1167015843020943390
4 replies
filament:install --panels WARN
Full credit to @awcodes for the answer (I'm just copy/pasting it from the chat channel for posterity's sake):
"Add the
AdminServiceProvider
to your providers array in config/app.php
. It tries to do it automatically, but for some reason in your app it couldn’t."
Link to the answer - https://discord.com/channels/883083792112300104/956270111176679516/12143578351741174494 replies
Filament for admin and inertia + Vue for client frontend, any complications?
Yeah, I should have been a little more specific about that. In our application, there were a handful of screens that needed essentially that same exact table logic in the Admin panel and in the client application. The only difference is that the client application was tenant-ed and the Admin panel was not. Because of that, in those places we had to write code to make a table in VILT and a table in Filament (TALL). Definitely not the end of the world at all, but something to note.
We did not need to build any JS or CSS for the Filament panel, but there shouldn't be any complications for having to do so.
5 replies
Filament for admin and inertia + Vue for client frontend, any complications?
On my previous project, we were running the VILT stack on the front-end while using Filament for the Admin Panel. It's a massive application, so we've likely covered most if not all of the possible edge cases, and we had absolutely no issue with the two conflicting.
The only downsides are that now the product's developers need to know two stacks (Vue + Inertia & TALL) and that in some cases you may have to write double the code (one implementation in Filament and one in Vue + Inertia). I will say that, in every practical way, using Filament for the admin panel was one of the best decisions that our team made for that product. We were able to continue using Vue + Inertia on the front-end which the client and their developers were comfortable with, but we were also able to build out previously non-existent Admin panel functionality with Filament. None of the devs (who had never previously touched TALL stack) had much of a problem adapting.
Obviously, your mileage may vary depending on the project and development team, but for us, it was a MASSIVE win. Big enough that the CEO called out Filament specifically during their end of the year company all-hands meeting 😆
5 replies
RichEditor > Youtube
Yeah, so I know this question is about the
RichEditor
specifically, but if you're open to pulling in the TipTap editor package, I'd seriously consider going that route. I personally find it to be the best option once you're needing to do more complex data entry than just adding text with different formatting.11 replies
Please Help! Is it possible to show the images based on the selected option in create form?
Short of using something like the Curator plugin for media uploads, if you wanted to, you could likely create a custom field for displaying images in a read-only format in a form.
8 replies
Please Help! Is it possible to show the images based on the selected option in create form?
Does this get you pointed in the right direction? By following these steps, you can use the selected option of a
Select
field to populate other fields into the form.
https://filamentphp.com/docs/3.x/forms/advanced#dynamic-fields-based-on-a-select-option8 replies
multiple column type for the same column
Maybe something like this is what you're looking for? I implemented this on a project recently--depending on the value of a "type" select field, I changed what other fields were visible in the form.
https://filamentphp.com/docs/3.x/forms/advanced#dynamic-fields-based-on-a-select-option
3 replies
Automatically generating forms and tables | doctrine/dbal
I see that you've created your Model file with the
$fillable
array, but have you also created your migration file and run it against your local database?
I can't find documentation on this, so I very well might be misremembering, but I feel like I remember reading/learning that the resource generator looks at the DB table to attempt to figure out the form field types, not at the Model.22 replies