joaoppcastro
joaoppcastro
FFilament
Created by joaoppcastro on 12/27/2023 in #❓┊help
Filament Shield
Does anyone have this error/warning when running this command: php artisan shield:install --fresh? SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "channel_id" of relation "model_has_roles" violates not-null constraint DETAIL: Failing row contains (1, App\Models\User, 1, null). (Connection: pgsql, SQL: insert into "model_has_roles" ("channel_id", "model_id", "model_type", "role_id") values (?, 1, App\Models\User, 1)) Thanks to anyone who can help 🙂
3 replies
FFilament
Created by joaoppcastro on 12/26/2023 in #❓┊help
How to redirect route to panel with id or channel_id?
I have this route: Route::get('/login', function () { return redirect(route('filament.admin.auth.login')); })->name('login'); Supposedly I'm doing the email verification and once verified it goes to the login but after that I wanted it to go to the admin panel, the redirect isn't exactly that, so what's there goes to the home page 127.0.0.1:8000, The intention was to go to the panel through the channel if I understand myself, can anyone help?
7 replies
FFilament
Created by joaoppcastro on 12/22/2023 in #❓┊help
create a user and send a verification email
Has anyone managed to create a user and then send a verification email, for example via mailcatcher to test, I think I've already tried with the documentation and some tutorials and I didn't succeed, can anyone shed some light?
4 replies
FFilament
Created by joaoppcastro on 12/21/2023 in #❓┊help
pxlrbt/filament-spotlight
I have an issue when I configure my adminpanelprovider.php with spotlightplugin::make() He throws that error: Missing required parameter for [Route: filament.admin.pages.dashboard] [URI: admin/{tenant}] [Missing parameter: tenant]. @Dennis Koch or @Dan Harrin, anyone can help with this?
9 replies
FFilament
Created by joaoppcastro on 12/20/2023 in #❓┊help
spatie/eloquent-sortable
Can anyone help to override the spatie/eloquent sortable plugin to reorder the table? I'm working with relation manager I have this code in my resource: public $sortable = [ 'order_column_name' => 'order', 'sort_when_creating' => true, ]; public function buildSortQuery() { return static::query()->where('parent_id', $this->parent_id); } Can you help me if possible? @Dan Harrin
2 replies
FFilament
Created by joaoppcastro on 12/15/2023 in #❓┊help
Fail with TipTapEditor
No description
3 replies
FFilament
Created by joaoppcastro on 12/14/2023 in #❓┊help
Image fail when uploaded with curator and tiptapEditor
No description
9 replies
FFilament
Created by joaoppcastro on 12/12/2023 in #❓┊help
unique fails
I have this little piece of code: ->unique( table: Sitemap::class, column: 'slug', ignoreRecord: true, ignorable: new Page) supposedly it keeps the same slug saved if I edit anything and I save it again, but it tells me that the slug already exists. Can anyone help or give a suggestion?
16 replies