I have a channel of Events, which has a videos field. Videos is a playa field which relates to a Videos channel. The Videos channel has a field which uses Channel Videos to display the video. I'm trying to use Stash to retrieve and display these videos from my Event using nested lists. However, I'm not quite sure of the syntax with more than one two dimensional lists. Here is the code I've used so far.
{!-- set the list --}
{exp:stash:set_list name="an_event" parse_depth="2" parse_tags="yes" scope="site"}
{exp:channel:entries channel="events" disable="categories|category_fields|member_data|pagination|trackbacks" dynamic="no" entry_id="155"}
{stash:title}{title}{/stash:title}
{stash:entry_id}{entry_id}{/stash:entry_id}
{exp:stash:set_list:nested name="event_video" context="{entry_id}" parse_tags="yes" scope="site"}
{event_video}
{exp:channel_videos:videos entry_id="{entry_id}"}
{stash:video_id}{video:id}{/stash:video_id}
{stash:video_title}{video:title}{/stash:video_title}
{stash:video_thumb}{video:img_url}{/stash:video_thumb}
{stash:video_embed}{video:embed_code}{/stash:video_embed}
{/exp:channel_videos:videos}
{/event_video}
{/exp:stash:set_list:nested}
{/exp:channel:entries}
{/exp:stash:set_list}
{!-- get the list --}
{exp:stash:get_list name="an_event" scope="site"}
<h1>{title}</h1>
{exp:stash:get_list:nested name="event_video" context="{entry_id}" scope="site"}
<img src="{video_thumb}" />
{/exp:stash:get_list:nested}
{/exp:stash:get_list}
As a simple test, I'm just trying to output the thumbnail for the video, but I'm not seeing anything. Any ideas on what I'm missing?
Thanks, Dan