{exp:channel:entries}
{exp:playa:parents}
{title} returns title from the entry
{/exp:playa:parents}
{/exp:channel:entries}
If I remove the {exp:channel:entries}
tag pair, then the playa returns the correct data. However, I need info from the entry and then I want to loop through all the parents in another channel.
In this case, think of the entry as a product, and then return all the FAQs about that product. The relationship is made on the FAQ not the product.
channel
parameter to yourplaya:parents
tag? – Derek Hogue♦ Apr 11 '13 at 21:33{exp:channel:entries channel="products" limit="1" url_title="{last_segment}"}
{exp:playa:parents channel="faqs"}
– Ryan Shrum Apr 11 '13 at 21:37{exp:playa:parents}
tag to return the correct number of entries by addingchild_id="{entry_id}"
to the tag pair (still with in channel entries loop), however it is still returning the title from the channel:entries loop.{parent:title}
and{child:title}
return as strings not as the variable. – Ryan Shrum Apr 12 '13 at 18:12