© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
6 replies
Charles

Resource as Navigation Parent of Custom page

I am currently trying set a resource page as navigation parent of a custom page. when setting the navigation parent of the custom page by changing the navigation parent property, it simply disappears.


class TimeEntriesOverview extends Page
{
protected static ?string $navigationGroup = 'Zeiterfassung & Ausgaben';
protected static ?string $navigationIcon = 'eos-timer';
protected static ?string $navigationLabel = 'Übersicht Zeiterfassung';
protected static ?int $navigationSort = 1;
protected static ?string $navigationParentItem = 'Zeiterfassung';

protected static string $view = 'filament.pages.time-entries-overview';
}

class TimeEntryResource extends Resource
{
protected static ?string $model = TimeEntry::class;

protected static ?string $navigationGroup = 'Zeiterfassung & Ausgaben';
protected static ?string $navigationIcon = 'eos-timer';
protected static ?string $navigationLabel = 'Zeiterfassung';
protected static ?int $navigationSort = 0;


...
Solution
Solved it, the necessary attributes to set are

protected static ?string $navigationGroup = 'Zeiterfassung & Ausgaben';
protected static ?string $title = 'Übersicht Zeiterfassung';
protected static ?string $navigationParentItem = 'Zeiterfassung';
protected static ?string $navigationGroup = 'Zeiterfassung & Ausgaben';
protected static ?string $title = 'Übersicht Zeiterfassung';
protected static ?string $navigationParentItem = 'Zeiterfassung';


everything else is redundant and results in unwanted behavior
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

Set custom page navigation as active without custom navigation
FilamentFFilament / ❓┊help
17mo ago
Getting custom resource page into navigation sidebar
FilamentFFilament / ❓┊help
3y ago
Display Resource Sub Navigation as top navigation
FilamentFFilament / ❓┊help
2y ago
Navigation for custom page
FilamentFFilament / ❓┊help
2y ago