Given a Playa field in Low Variables called widgets
, how would I output the title of each widget? Below is what I'd expect, but it outputs nothing.
{exp:low_variables:parse var="widgets"}
{title}
{/exp:low_variables:parse}
Given a Playa field in Low Variables called widgets
, how would I output the title of each widget? Below is what I'd expect, but it outputs nothing.
{exp:low_variables:parse var="widgets"}
{title}
{/exp:low_variables:parse}
I fixed this issue. It was/is a bug in Playa. Pixel and Tonic now knows about it and will include a fix in the next release. In the meantime, here is my solution:
Change Line 2484 of ft.playa.php to...
$data = array(
'parent_var_id' => $this->var_id,
'parent_is_draft' => 0
);
Basically added 'parent_is_draft' => 0
I'm just confirming that this works in Playa 4.4.4 + Low Variables 2.3.5 with EE 2.6.
Matt,
Have you seen Low's answer? His first example should work for you:
{exp:low_variables:pair var="lv_settings_home_feature_items" limit="3"}
...more code here...
{/exp:low_variables:pair}
If it's not working, can you post your EE version, Playa version, and LV version?
Thanks!
-Lisa, P&T