You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to model up a global to use it as a nav bar and I need it to accept multiple collections.
Normally I would create a field for each relationship, but this way I can't manually sort them.
Let's say I have 2 collections:
I need to add page "Contact" and category "Featured" to the nav bar and manually set the order: I want "Featured" to come first and "Contact" latter.
So I would code the UI that way: first show "page" items and then "category" items.
But then I need to add a secondary nav bar somewhere, and this fixed sorting doesn't cut it. I need to be able to manually sort each menu items.
How can I do this? Is it the right thing to use globals for this use case?
Beta Was this translation helpful? Give feedback.
All reactions