ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Stash: Parsing order issue with Playa?

January 11, 2013 8:02pm

Subscribe [1]
  • #1 / Jan 11, 2013 8:02pm

    rick.prince

    111 posts

    Okay, I give up! I’m trying to get an entry_id to a playa tag, but the parsing must be off. I’ve tried every combination I can think of - is it something obvious?

    This….

    {exp:stash:get name='member_client_id' scope='user'}

    Is calling this…

    {exp:stash:set name="member_client_id" parse_tags="yes" parse_depth="2"}
     {exp:vmg_chosen_member:assoc_entries field="clientMembers" member_id="{member_id}"}
      {exp:channel:entries require_entry="yes" channel="client" entry_id="{cm_entry_ids}"}   
       {entry_id}
      {/exp:channel:entries}
     {/exp:vmg_chosen_member:assoc_entries}
    {/exp:stash:set}

    Which I’m using as a Playa parameter…

    {exp:playa:parents channel="email" field="emailClient" entry_id="{exp:stash:get name='member_client_id' scope='user'}" parse="inward"}
     {title}
    {/exp:playa:parents}

    ...which returns nothing.

    I’ve tried embedding it in a stash temple too… not luck:

    {stash:embed name="client_id" parse_tags="yes" parse_depth="2" scope="user" replace="yes" output="no" process="start" save="yes" parse_stage="set"}

    What am I doing wrong?

  • #2 / Jan 11, 2013 10:23pm

    rick.prince

    111 posts

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases