Pathros
Email Verification in afterCreate() event
Leandro, this it works. Thanks. Additional help:
1) How do you translate the password reset form into another language?
2) After resetting the password, how do you pass the email into the input of the login page (when coming from the password reset form)?
36 replies
For a custom filament page to edit a specific eloquent model, what is the URL of that page?
Thanks. Looks like I can get it from the route name list. The protected
$slug
property inside the custom page doesn't take effect but it does right from the getPages()
array of the Resource.10 replies
Fill custom edit page form with data
How do I make that custom edit page appear in the navigation menu?
I mean, if in the class setup I set:
I can see the page right at the navigation menu.
However, if I try, just like in this example, which is what I really want to do (a custom page to edit a record):
the link to the page in the navigation, disappears.
So how does this work? How do I set the link to that custom edit page?
Could you please shed some light on this?
6 replies
For a custom filament page to edit a specific eloquent model, what is the URL of that page?
I don't know what went wrong during the development phase, that I have tried to install a new fresh Laravel app with filament. As you suggest, I have added that page into the resource
getPages()
method:
and now I can see it registered inside the laravel routes:
/.../projects/{record}/fechas-confirmar
Then, how do I get the {record}
in the custom page to fill the values in the form, so that the user can edit that record?10 replies
Enum TextColumn badge() with label, icon and color
But I get the following error:
SubstitutionStatusEnum::from(): Argument #1 ($value) must be of type string|int, SubstitutionStatusEnum givenWell, now I have fixed it like so: That did the trick for me
8 replies
Private Image not showing
Thanks, @Dennis Koch @awcodes .
I realized that using the column
foto
in both the database as a column name and in the filesystems.php
config file was causing the problem.
I discovered when I noticed that setting up the label for "fotos" was ignored in the resource table:
then I started changing the name to whatever and test the label()
to see whether or not was ignored.
So, finally it worked when I changed the word "foto" to something else:
and in filesystems.php
So, "private" visibility was not causing any problem.
now it finally is working 🎉17 replies
Private Image not showing
What is strange is that I can see the image right in the form:
However, in the table, I only see the name of the file, instead of the image itself:
What I have tried is setting up a custom PhotoColumn.php:
that I use in the Resource table:
here's the view:
and I still see the exact same result: the image name, instead of the image itself.
By the way, setting up a label doesn't work.
the label text "Fotografía" is not displayed, but "Foto" instead
Any ideas how to fix this? How to make the images display?
17 replies
Private Image not showing
I also have the same problem in latest Filament v3 and Laravel v11. The
ImageColumn()
method is displaying the photo name, instead of the image itself.
Here's my disk config at filesystems.php
:
Here's the ImageColumn()
method in the Resource:
That displays the picture file name, instead of the photo image itself.
However, I can see the image right at the form:
What am I missing to make it display the image itself in the table, instead of the filename???
Any ideas?17 replies