Hi everyone! I’m working on a website right now for a church and am setting up a podcast of teaching sessions. The site is built with Structure, but I don’t know if that’s relevant to the problem I’m experiencing. Basically, I have 3 channels: Teachings, Teaching Series, and Teachers. Whenever you create a Teaching entry, you can select a series to have it be a part of, and you can choose from the list of teachers. Both of these are single relationships.
As I understand it, that makes Teachings the Parent and Series and Teachers to be two different sets of children.
I’ve been able to set up the code for the main teachings page, but when I try to see a list of all the messages in a series (or all the messages by a specific teacher), expression engine renders my code as plain text. If I leave out the {parent} tags, I get an error, but when they are back in, they show up like body text. I don’t understand what I’m doing wrong.
Here is the section of code that is not working:
<div class="frame">
{exp:channel:entries channel="teaching_series" limit="1" url_title="{segment_3}"}
<div class="halfblock">
{series_image}
{series_summary}
</div>
<div class="halfblock">
<h3>{title}</h3>
<h4>{series_timeframe}</h4>
<ol>
{parents field="in_series" orderby="date" sort="asc"}
<li>{parents:title} - {parents:speaker} - {parents:entry_date format="%n/%j"}</li>
{/parents}
</ol>
</div>
{/exp:channel:entries}
</div>Any ideas? Am I missing something really obvious? Thank you so much! Blessings, Caleb
PS: If you want to see what I’m experiencing, here’s my site: CTF Raleigh Teachings
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.