Skip to main content
6 of 14
deleted 15 characters in body
Matt
  • 51
  • 6

multiple sliders one page - Stash parse order and Playa

Concept is to stash store a entry_ids of playa entries to pass to jquery-nivoslider call, so that both the slider div and the call will not have identical slider ID's resulting with conflict.

As of now, when using process="end" tag, it doesn't appear to have playa parsing the vars in the proper order.

    {exp:channel:entries channel="my_channel"}
{exp:stash:parse process="end"}{exp:playa:parents channel="my_playa_channel" status="open" entry_id="{stash:update_ids}"}  content here         {/exp:playa:parents}
    {/exp:channel:entries}    {/exp:stash:parse}

{exp:channel:entries channel="my_channel" url_title="{segment_3}" limit="1" require_entry="yes"}
{exp:stash:set name="update_ids" parse_tags="yes" trim="yes"}
    0{exp:playa:parents channel="my_playa_channel" status="open" limit="10"}|{entry_id}{/exp:playa:parents}
{/exp:stash:set}{/exp:channel:entries}
  

{exp:stash:parse process="end" parse_depth="2"}  {exp:playa:parents channel="rehab_updates" status="open" limit="10" entry_id="{stash:update_ids}"}
{/exp:stash:parse}
   {title}<br  /> - line where issue begins{/exp:playa:parents}{/exp:channel:entries}
Matt
  • 51
  • 6