Cluster: SubNavigationPosition

I'm trying to set the
$subNavigationPosition = SubNavigationPosition::Top
$subNavigationPosition = SubNavigationPosition::Top
but doesn't seem to use this property like a resource does? Am I going about this correctly?
Solution:
You should add this in the resource class
Jump to solution
8 Replies
LeandroFerreira
LeandroFerreira3mo ago
Would you like to do this?
No description
Grasshopper
Grasshopper3mo ago
Correct
Solution
LeandroFerreira
LeandroFerreira3mo ago
You should add this in the resource class
Grasshopper
Grasshopper3mo ago
You are correct in you logic, but this is a Cluster not a Resource. My assumption was that the Cluster would use the same setting for the SubNavigationPosition but does not appear to be the case?
LeandroFerreira
LeandroFerreira3mo ago
SubNavigationPosition is Start by default
Grasshopper
Grasshopper3mo ago
Ok, I understand now and you are correct. The Cluster is well a cluster of Resources. Putting the setting in the Resource did in fact move the position to the Top. Thanks!
LeandroFerreira
LeandroFerreira3mo ago
yes. If you check the Resource class, this is configured with Start by default. If you want to change it, you need to override the method in your resources..
Grasshopper
Grasshopper3mo ago
The interesting thing is I only had to set it on one of the resources and it moved to the top. Seems to me this should be a setting on the Cluster since its the root node. But it worked.
Want results from more Discord servers?
Add your server
More Posts