Forum
How to generate a list of related items from Collections
Building our first site in Runway... and using Collections for content types - Products, Producers and Regions.
We are using one list/detail Product page and perch:related inside the detail content template to load a template of Producers, so it displays in the detail view of Product. That is all good. But we want to generate a list of other items related to the Producer in this template.
Is there an ideal way to do this??
You'd list your Producers collection, using a template with the required
perch:related
tags to display the related content.Yeah so, in our detail template we have:
But inside this "producer" template, how can we list other items by this same producer?
You'd need to pull that data from the Items collection.
OK, we added some system variables...
(Producer template)
Gotta work out Origin yet, but is this the best way to go about this?
What's origin? I'm completely lost!
Sorry - Region, just one of the collections.
We will add another array for that.... but is this method the best approach for Runway and Collections?