Luiz
vertical spacing
How to reduce the vertical spacing between rows in an Infolist when using inlineLabel()? I'm noticing a lot of extra space between entries, and I want to make it more compact. Is there a way to do this, or should I use custom CSS?
2 replies
Problem with Admin Panel Authentication - 403 Forbidden on Production
I'm having an issue with my Filament admin panel. On localhost, everything works fine, but on production, after logging in, I get a 403 Forbidden error.
Here’s my setup:
- I created a custom
Admin
model and set up a new guard admin
in config/auth.php
:
- I have two panels:
- UserPanel
using the User
model and the default web
guard.
- AdminPanel
using the Admin
model and the admin
guard.
- My AdminPanelProvider.php
config:
What I’ve done so far:
- Tested locally: Works fine.
- On production: The login page loads, but after logging in, it redirects and gives a 403 Forbidden.
What I’ve checked:
1. The guard setup in auth.php
is correct.
2. The Admin
model is set up and has users in production.
3. The session domain and cookies in .env
seem correct.
4. Cleared all caches (config:clear
, route:clear
, cache:clear
, etc.).
What could I be missing? Any help would be greatly appreciated!5 replies
Subnavigation position in blade
When I create the subnavigation I can choose the position between Start, End and Top. However, I want to place it in a specific space on the blade. How can I do this without having to create Tabs manually?
Example:
3 replies
image upload using URL
Has anyone managed to create a way to upload media via URL to the https://filamentphp.com/plugins/filament-spatie-media-library plugin?
What I've managed to do so far is this:
However, nothing appears on the form and when I try to save it, an empty error occurs.
11 replies
Spatie Media Library records media but does not display it.
I am using the Spatie Media Library package (https://filamentphp.com/plugins/filament-spatie-media-library).
In the form I created the upload:
After saving the form, the media record is created in the Media table correctly, but the media disappears from my form as if it were empty. I also have the media column in my table (which I previously used with common upload), but nothing is saved in it. I believe it is not necessary.
However, on my blade page I am trying to display the image but the return is empty:
What am I doing wrong?
25 replies