© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Vp

App panel with custom url showing admin panel layouts

I create app panel (I use this for landing page) and I remove
Authenticate
Authenticate
middlewire. I display content in pages, and working perfect. Now I need to create specific url like
{host}/lyrics/{slug}
{host}/lyrics/{slug}
, for this I create another page, hide from navigation, but when I map with my custom url, it shows
admin panel
admin panel
layouts.

// url
Route::get('lyrics/{slug}', App\Filament\App\Pages\LyricDetail::class);

// LyricDetail.php
protected static ?string $navigationIcon = 'heroicon-o-document-text';

protected static bool $shouldRegisterNavigation = false;

protected static string $view = 'filament.app.pages.lyric-detail';

public $lyric;

public function mount($slug): void
{
    $this->lyric = Lyric::whereSlug($slug)->firstOrFail();
}
// url
Route::get('lyrics/{slug}', App\Filament\App\Pages\LyricDetail::class);

// LyricDetail.php
protected static ?string $navigationIcon = 'heroicon-o-document-text';

protected static bool $shouldRegisterNavigation = false;

protected static string $view = 'filament.app.pages.lyric-detail';

public $lyric;

public function mount($slug): void
{
    $this->lyric = Lyric::whereSlug($slug)->firstOrFail();
}

Bg-white image is normal one, If I didnot hide from navigation and didn't check anything then I get inside my app panel when I click from nav bar
dark image is after I hide from navigation and check inside
mount()
mount()
and call from my custom url
lyrics/{slug}
lyrics/{slug}


What should be the problem and thanks in advance
Screenshot_from_2023-09-23_09-55-11.png
Screenshot_from_2023-09-23_09-54-33.png
Solution
I gave
->default()
->default()
to
AppPanelProvider
AppPanelProvider
and remove from
Admin
Admin
and it's working as expected..
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Custom panel URL
FilamentFFilament / ❓┊help
15mo ago
Admin Panel and App Panel access
FilamentFFilament / ❓┊help
3y ago
Redirect to app panel instead of admin panel
FilamentFFilament / ❓┊help
2y ago
Admin Panel
FilamentFFilament / ❓┊help
2y ago