• 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.

SatGuyScott

Active member
#1
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?

Thanks!