We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
2 way collection relationships
I've got 2 collections: Talks and Speakers. I've got
perch:related tags on the Talks template like this:
<perch:related id="speaker" collection="Speakers" label="Speaker"> <a href="/speakers/<perch:content id="slug" type="slug" />">Find out more about <perch:content id="name" /></a> › </perch:related>
and I've set the relevant speaker for each Talk.
Is there a way to automatically populate a list of talks on the speaker page? It feels a bit inefficient having to add the speaker to a talk then go to the speaker's profile and add the talk to the speaker. I'm guessing there's some way of doing it on the page template with php, but maybe there's a Perch way of doing it. Either way, I'm a bit stumped. Do you know how I might solve this?
Want to reply to this thread?Login with Perch