Register custom resource pages on the side navigation

Hey - having trouble trying register a resource custom page in the side menu navigation This is achievable if i manually create the navigation item in the AdminPanelProvider but would rather not have to do that Things i've tried adding to the resource custom page class: protected static ?string $navigationGroup = 'Orders';
public static function shouldRegisterNavigation(array $parameters = []): bool
{
return true;
}
public static function shouldRegisterNavigation(array $parameters = []): bool
{
return true;
}
But that doesn't seem to work however. Are my only options here making it a standalone Page (not associated to resource) or manually adding a nav item to AdminPanelProvider ?
1 Reply
DrByte
DrByte5mo ago
Does your AdminPanelProvider still have discoverResources() in it? Is your resource in the specified directory and namespace?