Nick

Can't display fields from other channels

Using Playa 4.1.0.3, I'm running into a really basic issue in that I can't display fields from a channel different to that of the parent entry.

An event is created in the events channel, and it has two Playa fields relating to the members channel (different categories)

A single selection for the 'venue' category
A multiple selection for the 'artists' category

I'm finding the documentation / examples a little thin on the ground when it comes to this. I feel like I've tried everything without success. Latest attempt looks something like this (just dealing with the single selection Playa field to start with):

event template:

{exp:safecracker channel='events' entry_id='{segment_3}' return='events/ENTRY_ID'}
...
{embed='embeds/venue-artist'}
...
{/exp:safecracker}


venue-artist embed:

{exp:channel:entries channel='events'}
{exp:playa:children channel='members'}
<p>{title}<p>
{/exp:playa:children}
{/exp:channel:entries}


Where I'm I going wrong? Even if I could get this working, I want to reference the child fields individually, using the tag pair (which works fine if everything is in the same channel).

Thanks in advance
1 person has
this question
+1
Reply