I am trying to expand some code suppled by Mark Croxton in another thread to create a list of Matrix results from a related entry but without success. This is with Stash 2.3.5 on ExpressionEngine 2.5.3.
Here is my SET code from my main template:
{exp:stash:set_list name="landing_slideshow" parse_tags="yes" parse_depth="2"}
{exp:channel:entries channel="slideshow" sort="date" dynamic="no" disable="member_data|pagination" parse="inward"}
{stash:stash_entry_id}{entry_id}{/stash:stash_entry_id}
{stash:title}{title}{/stash:title}
{stash:landing_slideshow_image}{landing_page_slideshow_image}{/stash:landing_slideshow_image}
{exp:stash:set_list:nested name="lb_slideshow_credits_{entry_id}" parse_tags="yes"}
{related_entries id="related_work_project"}
{work_team}
{stash:lp_slideshow_position}{mx_position}{/stash:lp_slideshow_position}
{stash:lp_slideshow_person}{mx_person}{/stash:lp_slideshow_person}
{/work_team}
{/related_entries}
{/exp:stash:set_list:nested}
{/exp:channel:entries}
{/exp:stash:set_list}
And here is the GET code I have in an embeded template:
{exp:stash:get_list name="landing_slideshow"}
<ul class="normal">
<li>{stash_entry_id}</li>
{exp:stash:get_list:nested name="lb_slideshow_credits_{entry_id}"}
<li><span class="">{lp_slideshow_position} | </span> {lp_slideshow_person}</li>
{/exp:stash:get_list:nested}
</ul>
{/exp:stash:get_list}
The Stashed values set outside the {related_entries} loop — {stash_entry_id}, {title} and {landing_slideshow_image} are all displaying as expected. Nothing in the {related_entries} loop is displaying or appears to be stashed.
Does using related entries change things enough that answers in the other thread aren't applicable?