VortexTrumpetHat
VortexTrumpetHat
FFilament
Created by VortexTrumpetHat on 6/10/2024 in #❓┊help
Render SimplePage without route?
Thanks for this suggestion, I'll give it a try!
16 replies
FFilament
Created by VortexTrumpetHat on 6/10/2024 in #❓┊help
Render SimplePage without route?
If I create a SimplePage and perform route:list it doesn't show up?
16 replies
FFilament
Created by VortexTrumpetHat on 6/10/2024 in #❓┊help
Render SimplePage without route?
Okay, fair enough! How are SimplePage typically rendered if they don't implement Concerns\HasRoutes?
16 replies
FFilament
Created by VortexTrumpetHat on 6/10/2024 in #❓┊help
Render SimplePage without route?
I guess it all boils down to wanting to display an error message using the styling of the rest of the Filament site. But <x-filament-panels::page.simple> complains there's no context and I'm hoping I'm just missing something simple.
16 replies
FFilament
Created by VortexTrumpetHat on 6/10/2024 in #❓┊help
Render SimplePage without route?
Yep! I've been able to get that partially working , but the Filament SimplePage complains that $this is being used outside object context when I attempt to render the view itself. Is there a way to return something like response()->view(MySimplePage)?
16 replies
FFilament
Created by VortexTrumpetHat on 6/10/2024 in #❓┊help
Render SimplePage without route?
I didn't express my original question well enough... I have a SimplePage that I'd like to display if a particular exception is caught in middleware. So there is a route for the original request.
16 replies
FFilament
Created by VortexTrumpetHat on 6/10/2024 in #❓┊help
Render SimplePage without route?
Really? What about response()->view('some.blade')?
16 replies
FFilament
Created by slamx_ on 6/9/2024 in #❓┊help
Change active Tab via callback
Not sure what the context of your use case is, but you may be able to utilize injecting the current livewire component instance in your callback? https://filamentphp.com/docs/3.x/tables/columns/advanced#injecting-the-current-livewire-component-instance I've used this before to determine what the active tab is (e.g. ->hidden(fn ($livewire) => $livewire->activeTab === 'tabName')) but maybe it can be used to set the active tab as well?
4 replies
FFilament
Created by VortexTrumpetHat on 1/10/2024 in #❓┊help
Multi-tenancy panel giving 404
Okay, I solved the problem. It was an issue with the canAccessTenant function on the User model, required by the HasTenants interface. It was only checking the teams (i.e. many to many), not the owned teams (this is a Jetstream feature)
5 replies
FFilament
Created by VortexTrumpetHat on 1/10/2024 in #❓┊help
Multi-tenancy panel giving 404
I've also just confirmed the routes:
GET|HEAD admin/{tenant} ... filament.admin.pages.dashboard › App\Filament\Pages\Dashboard
GET|HEAD admin/{tenant} ... filament.admin.pages.dashboard › App\Filament\Pages\Dashboard
The url should be found... I really don't understand where the 404 is coming from?
5 replies
FFilament
Created by DanielvdSpoel on 9/2/2023 in #❓┊help
Tenant panel gives 404
Where were you selecting the wrong model? I'm having this same problem and can't seem to find where the issue is occurring.
6 replies