1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Help with expression.

Discussion in 'Styling and Customization Questions' started by SatGuyScott, Jun 1, 2015.

  1. SatGuyScott

    SatGuyScott Active Member

    Hi there, I am trying to add a new usergroup to this expression in one of my templates.

    <xen:if is="{$user.secondary_group_ids} == 32 OR {$user.is_admin}">

    The new additional usergroup is 38.

    If I try going <xen:if is="{$user.secondary_group_ids} == 32 OR 38 OR {$user.is_admin}"> it does not work.

    So what is the proper context so user group 32 , 38 or if the user admin all work that that line?

  2. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page