Having a bit of a weird problem happening with P&T pill field inside Low Variables.
When I used this code:
{if "{lv_metasocial_meta_title_display}" == "title_site_name"} | {lv_general_site_name}{/if}
It doesn't render out the {lv_general_site_name}
variable. Moving this outside of the conditional makes it appear.
The options inside the Pill field are:
title_only : Meta Data Title Only
title_site_name : Meta Data Title and Site Name
Changing the pill values, and also resubmitting the variable multiple times doesn't make this work.
What could be causing this?
I also tried changing the tag to using the Low Variables Single tag, but it throws this error:
Fatal error: Call to undefined method Low_fieldtype_bridge::get_setting() in /.../system/expressionengine/third_party/low_variables/mod.low_variables.php on line 148
So I've had to just use it as the field name itself, which outputs fine outside of the conditional due to Low Variables Parse tag being wrapped around it.
Any ideas?