Syntax error in if statement... can't work it out.

Checking for existence of a custom profile field, and that the field is not a certain value:

<xf:if is="$xf.visitor.Profile.custom_fields.afl_club" && !is="$xf.visitor.Profile.custom_fields.afl_club == 'tasmania'">

Saving the template I get a syntax error message but no detail on what the problem is.

Deleting all but this if /if gives the same error so it's not other code in the template.

Have used IF statements many times in the past, and this custom profile field is referenced in the...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ