Closed Third-Hyperion closed 7 years ago
This can only work if there is only one entry, one playa relationship and one matrix field row. In other words, there is only one instance of {matrix_value}
:
{exp:channel:entries limit="1"}
{playa_field limit="1"}
{matrix_field limit="1"}
{exp:stash:set name="my_var"}{matrix_value}{/exp:stash:set}
{/matrix_field}
{/playa_field}
{exp:stash:get name="my_var" process="end"}
{/exp:channel:entries}
That's great. I only have one row also. Thanks.
On 9 February 2017 at 18:53, Mark Croxton notifications@github.com wrote:
This can only work if there is only one entry, one playa relationship and one matrix field row. In other words, there is only one instance of {matrix_value}:
{exp:channel:entries limit="1"}
{playa_field limit="1"} {matrix_field limit="1"} {exp:stash:set name="my_var"}{matrix_value}{/exp:stash:set} {/matrix_field} {/playa_field}
{exp:stash:get name="my_var" process="end"}
{/exp:channel:entries}
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/croxton/Stash/issues/153#issuecomment-278736951, or mute the thread https://github.com/notifications/unsubscribe-auth/AFVG2qOVq7AHLM93BCFCf6vRLIDF57Pyks5ra2DHgaJpZM4L8L8C .
Is there a way to stash a playa field where there is a matrix field within the entry? Then get it further down, within the same channel entry tags?
I've tried everything but I just can't figure it out. Thank you,