Streaming live at 10am (PST)

Featured item from different collections in one list

So. I want to create a section that features an item with “featured” field in a list, the only problem is that they need to come from different collections… is this even possible?

this is where I’m at:

I have 4 collections: CASES, ACCESSORIES, COOLING AND POWER SUPPLY, I want to feature one of this in a home page section named: FEATURED. I created a switch field for each item named. But list only connects with one collection.

What can i do?

thanks


Hello Mao.

I was asking myself the same question and found a way to do it and without code.

In the new collection “featured elements”, I created a switch field just like you, and 3 reference fields for each of my collections (video, documents and press).

Then, inside this “featured elements” collection, I created 3 items for each of my collection (video, documents and press).
For instance, in the item video, I choose the video I want to feature with the reference field. I don’t touch to the other reference fields. I use the switch field to feature it.

Then on my template, I add 3 collections lists above each other, using absolute position. I use a filter on each of these collections to show its only if the switch field is on.

Capture d’écran 2021-10-05 à 12.04.19

And it works !
You just need to be very careful with the switch field, to make sure that only one of the item is switch on.

Hope that what clear enough.
If someone else has another way to do it, let me know.

Steffi