Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin [filament-laravel-log] is not registered for panel [admin]. Can not add this to custom admin panel #41

Open
subhadipghorui opened this issue May 12, 2024 · 1 comment

Comments

@subhadipghorui
Copy link

I want this plugin only on developer admin panel. But I am getting this exception on adding it to developer admin panel.

Plugin [filament-laravel-log] is not registered for panel [admin].

To fix this I need to also add this with default admin panel, then I can use it to other admin panel, like in my case developer admin panel.

Kindly fix this, so that we can use this separately to custom admin panel page.

Default admin panel

return $panel
            ->default()
            ->id('admin')
            ->path('admin')
.....
->plugins([
                FilamentLaravelLogPlugin::make()
                    ->navigationGroup('System Tools')
                    ->navigationLabel('Logs')
                    ->navigationIcon('heroicon-o-bug-ant')
                    ->navigationSort(1)
                    ->slug('logs')
            ]);

Custom admin panel

 return $panel
            ->id('developer')
            ->path('developer')
.....
->plugins([
                FilamentLaravelLogPlugin::make()
                    ->navigationGroup('System Tools')
                    ->navigationLabel('Logs')
                    ->navigationIcon('heroicon-o-bug-ant')
                    ->navigationSort(1)
                    ->slug('logs')
            ]);
@hugoboss17
Copy link

this is not a problem of this package, as I'm having the exact same issue using the curator plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants