Setting navigation group as collapsed by default
How do I set a navigation group, which is created from the resource AND used by multiple resources, to be collapsed by default?
3 Replies
you can set navigation group in your panel provider and set the group every each resources that you wish. you can refer to this documentation. and add ->collapsed()
@Expecto Patronum I've tried that, but nothing changed.
Just to make sure I understand, I DEFINE the navigation groups inside the panel provider, and remove the navigation group definitions in the resources. I only tell the resources under which navigation group they should belong?
For some reason, I can't get this to work. What change do I need to make in the resources?
Also, whatever group I make via the portal provider, they aren't showing up.
Got it working.. Appearently it only works, if you actually apply a resource to that menu "name"
ty!
Yes
Glad to hear it