droppysee08
droppysee08
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
Nice nice, Ill check it out.
20 replies
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
Thanks i figure it out now, in panel middleware, the PreventAccessFromCentralDomains::class does not need,
20 replies
FFilament
Created by droppysee08 on 11/13/2023 in #❓┊help
How to access Parent data to relation manager?
already solved it. in relationManager use $this->getOwnerRecord()
4 replies
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
When i add the InitializeTenancyByDomain::class, PreventAccessFromCentralDomains::class, i get error, "Tenant could not be identified on domain test"
20 replies
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
return $panel
->id('tenant')
->path('/tenant')
->login()
->colors([
'primary' => Color::Amber,
])
->discoverResources(in: app_path('Filament/Tenant/Resources'), for: 'App\\Filament\\Tenant\\Resources')
->discoverPages(in: app_path('Filament/Tenant/Pages'), for: 'App\\Filament\\Tenant\\Pages')
->pages([
Pages\Dashboard::class,
])
->discoverWidgets(in: app_path('Filament/Tenant/Widgets'), for: 'App\\Filament\\Tenant\\Widgets')
->widgets([
Widgets\AccountWidget::class,
Widgets\FilamentInfoWidget::class,
])
->middleware([
InitializeTenancyByDomain::class,
PreventAccessFromCentralDomains::class,
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
->authMiddleware([
Authenticate::class,
]);
return $panel
->id('tenant')
->path('/tenant')
->login()
->colors([
'primary' => Color::Amber,
])
->discoverResources(in: app_path('Filament/Tenant/Resources'), for: 'App\\Filament\\Tenant\\Resources')
->discoverPages(in: app_path('Filament/Tenant/Pages'), for: 'App\\Filament\\Tenant\\Pages')
->pages([
Pages\Dashboard::class,
])
->discoverWidgets(in: app_path('Filament/Tenant/Widgets'), for: 'App\\Filament\\Tenant\\Widgets')
->widgets([
Widgets\AccountWidget::class,
Widgets\FilamentInfoWidget::class,
])
->middleware([
InitializeTenancyByDomain::class,
PreventAccessFromCentralDomains::class,
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
->authMiddleware([
Authenticate::class,
]);
20 replies
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
oh nice i will try it. thanks
20 replies
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
by the way i am using multidatabases
20 replies
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
No, I still haven't fixed it. I don't know if I will continue to use Filament with Stancl/Tenancy. I can't find a way to use Filament with both the central and tenant databases in Stancl. I've been trying to figure it out for almost a week, but I haven't had any luck yet.
20 replies
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
assets/style does not load properly. But when using the filament with the central domain it works.
20 replies
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
here is the result when using with the tenant,
20 replies
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
No description
20 replies
FFilament
Created by droppysee08 on 11/7/2023 in #❓┊help
Filament 3 with Stancl/Tenancy
Thanks for that. How about the filament? my goal is to use filament in tenant.
20 replies