I'm building a site using relationships and have run into something that's got me stumped. I suspect it's something simple but can't for the life of me see what it is.
I have the following channels and fields:
Channel: training_course_dates
Field: training_course (single relationship to training_course_overview channel)
Channel: training_course_overview
Field: course_testimonial (single relationship to testimonials channel)
Channel: testimonials
Field: testimonials_quote
What I'm trying to do is to show an entry from the {training_course_dates} channel, pulling in the course overview information, including the related testimonial but this is where I'm getting stuck.
Here's the code I'm currently using:
{exp:channel:entries
channel="training_course_dates"
dynamic="yes"
url_title="{segment_4}"
status="open"
limit="1"
cache="yes"
refresh="1440"
}
<div class="feature_box">
<p>
{training_course}
{training_course:course_testimonial}
{training_course:course_testimonial:testimonials_quote}
{/training_course:course_testimonial}
{/training_course}
</p>
</div>
{/exp:channel:entries}
And here's what's getting output:
{training_course:course_testimonial}
{training_course:course_testimonial:testimonials_quote}
{/training_course:course_testimonial}
Any ideas on where I'm going wrong?
Thanks in advance,
Tom