All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Variable 2.3.2 + Playa 4.3.3

Victor Sanikovich 22 Nov 2012 06:44 question, complete

Hello!
Could you tell me how it is possible to parse entries ids in template?
When I ma trying to put variable in template I see this:
In template: {var_name}
Output:
[9] [armand-basi-in-red-eau-de-parfum] Armand Basi In Red Eau De Parfum 100ml [25] [burberry-weekend] Burberry Weekend 100ml

Replies

  1. Low 22 Nov 2012 09:49

    Hi Victor,

    You should be using the Pair tag instead of the variable syntax for Playa vars.

  2. Victor Sanikovich 22 Nov 2012 10:46

    Could you tell me what tag I should put into the Pair of tag ?

    It dosen't work:
    {exp:low_variables:pair var="var_name"}
    {var_name:child_ids}
    {/exp:low_variables:pair}

  3. Low 23 Nov 2012 12:23

    Ah right. You can only generate the IDs by using

    {exp:low_variables:pair var="var_name"}{entry_id}|{/exp:low_variables:pair}


    Ask Pixel & Tonic for help on how to get the :child_ids like you would with the fieldtype. That's something they could add support for.

  4. Victor Sanikovich 24 Nov 2012 08:41

    Thank you for your help!