I am still not 100% familiar with the newer relationships method added in 2.6 and I am wondering if I can get the Channel Category Archive Tag {exp:channel:category_archive} working with a parent relationship. It’s for the table of contents of a monthly magazine, and I want the category heading and the entries listed below. The parent relationship being the issue number.
Something like:
Category
Article 1
Article 2
Category
Article 3
Article 4
I’ve been playing with various combinations and no luck:
{exp:channel:entries channel="print_editions" disable="pagination" limit="1"}
{exp:channel:category_archive channel="articles" style="linear" show_empty="no" status="not closed"}
{parents}
<h2>{parents:categories}{category_name}{/parents:categories}</h2>
<p> <ul><br />
{parents:entry_titles}<br />
<li>{parents:title}<li> <br />
{/parents:entry_titles} <br />
</ul><br />
{/parents}<br />
{/exp:channel:category_archive}</p>
<p>{/exp:channel:entries}