fabricator menu item duplicate

i have made a customResource for the fabricator menu. How can i remove the duplicate menu item Pages? i cannot find it in the documentation.
No description
Solution:
I have asked it there. Maybe it is this. I have to register this in the appserviceprovider ```use Z3d0X\FilamentFabricator\Resources\PageResource;...
Jump to solution
10 Replies
ChesterS
ChesterS2mo ago
You sure you didn't just forget to change the page title?
raheel3031
raheel3031OP2mo ago
What do you mean
ChesterS
ChesterS2mo ago
I mean that it's weird that only one of the pages is duplicated so it's probably something with that page. Either way, we can't help much without more information
raheel3031
raheel3031OP2mo ago
Fabricator produces Pages out of the box. But I want to organize that menu item. So I created a custom page with filament and created the custom menu there. But now pages is duplicated and not overwritten. Maybe someone else nows the answer.
Dennis Koch
Dennis Koch2mo ago
But now pages is duplicated and not overwritten.
That's not how it works. The plugin needs to provide an option to disable the registration of a page.
raheel3031
raheel3031OP2mo ago
I have read the documentation but I couldn't find it.
Dennis Koch
Dennis Koch2mo ago
Best to ask the author whether that option exists#z3d0x-fabricator Seems like he's no very active anymore
Solution
raheel3031
raheel30312mo ago
I have asked it there. Maybe it is this. I have to register this in the appserviceprovider
use Z3d0X\FilamentFabricator\Resources\PageResource;

PageResource::navigationGroup('Blog');
PageResource::navigationSort(1);
PageResource::navigationIcon('heroicon-o-cube');
use Z3d0X\FilamentFabricator\Resources\PageResource;

PageResource::navigationGroup('Blog');
PageResource::navigationSort(1);
PageResource::navigationIcon('heroicon-o-cube');
Dennis Koch
Dennis Koch2mo ago
Yes, if it's only about the menu, that's the way to go
raheel3031
raheel3031OP2mo ago
So I will delete the custom page and try this. I will share if it works. Yes it is working now.

Did you find this page helpful?