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

Support archive

Filtering of Select Entries fieldtype by Category

sam.allen 15 Aug 2012 21:58 question, complete

When I saw Playa support, I was hoping it would be something akin to the Select Entries fieldtype, but with Playa's Category Filtering options. Is that something that's possible with Low Variable?

I've not been able to find any examples in the docs for how to use Playa with Low Variables. I've seen the mention to Playa here: http://gotolow.com/addons/low-variabl... -- but I'm not sure what the actual use case is.

Are there any examples I can reference / is there a way to do what I'm intending?

Replies

  1. Low 16 Aug 2012 15:09

    When outputting data for a Playa variable, you need to use the Tag syntax. Then you can use any of the parameters you would use with the {exp:playa:children} tag.

    For example:

    {exp:low_variables:pair var="my_playa_var" limit="10"} 
    ... all vars you would use in Playa tags ...
    {/exp:low_variables:pair}