• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

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

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
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
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا