XenForo Checking if a widget checkbox is enabled in a template

J

JoyFreak

Guest
I have the following in the admin template of the widget:
Code:

Code:
<xf:checkboxrow standalone="true">
    <xf:option name="options[snippet]"
               label="{{ phrase('jfae_enable_snippet') }}"
               selected="{$options.snippet}"
               />
</xf:checkboxrow>

I'm trying to use the conditional "{$options.snippet}" to check in a template if the check box is enabled in the widget. Does anyone know what I'm doing wrong?

Continue reading...