Navigation Groups & navigationParentItem not working

Hello, I have a ViewPage and its $navigationGroup is set to 'Group' but the link doesn't show up under it. Even if I try to set a page to a $navigationParentItem it doesn't work. What am I missing?
4 Replies
PercyTT
PercyTT9mo ago
Me too B disappears from the navigation bar A Resource
protected static ?string $modelLabel = 'A';
protected static ?string $modelLabel = 'A';
B Resource
protected static ?string $navigationParentItem = 'A';
protected static ?string $navigationParentItem = 'A';
thedangler
thedanglerOP9mo ago
still an issue even though the documentation states that its possible. Grouping navigation items You may group navigation items by specifying a $navigationGroup property on a resource and custom page: protected static ?string $navigationGroup = 'Settings'; All items in the same navigation group will be displayed together under the same group label, "Settings" in this case. Ungrouped items will remain at the start of the navigation. in my custom page it simply doesn't show up. Even if I wanted to place the Edit page under the "List" parent Item by stating the edit page parent is List, nothing shows.
awcodes
awcodes9mo ago
Did you add the view page to the resources’ getPages array. Make sure there not a policy blocking it too.
thedangler
thedanglerOP8mo ago
Yes its there. I can not seem for the life of me to get navigation groups to work if the page is from the same resource nor does it work when I try to say what parentNvigationItem is set
Want results from more Discord servers?
Add your server