ตัวแก้ไขธีม



Conditional Statements for XenForo 2.x

ไม่มีอับเดท Conditional Statements for XenForo 2.x

thxf.org thxf.org is verified member.

Administrator
สมาชิกทีมงาน
Admin
เจ้าของกระทู้
thxf.org เพิ่มไฟล์ใหม่:

Conditional Statements for XenForo 2.x - Conditional Statements for XenForo 2.x

Conditional Statements for XenForo 2

The conditional statements can be expanded by using AND, OR conditional statements operators and using xf:if, xf:else, xf:elseif.

If there are any conditional statements that you want to add, please add it as a message and the article will be updated.

1. How can I show content to Administrators?

โค้ด:
<xf:if is="$xf.visitor.is_admin">
    Show content...
</xf:if>

2. How can I show content to Moderators?

อ่านเพิ่มเติมเกี่ยวกับไฟล์นี้...
 


กระทู้ที่คล้ายกัน

  • บทความ บทความ
If you are running XenForo 2.3.13, these additional patches do not apply to you. Today we are releasing a further round of patches for all releases from XenForo 2.2.0 - 2.3.12, alongside...
ตอบกลับ
0
จำนวนการดู
82
  • บทความ บทความ
Today, we have released security maintenance updates for all supported XenForo releases from XenForo 2.2.0 through XenForo 2.3.12, together with applicable XenForo Media Gallery updates. These...
ตอบกลับ
0
จำนวนการดู
86
  • บทความ บทความ
XenForo 2.3.11 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo 2.3 upgrade to this release to benefit from...
ตอบกลับ
0
จำนวนการดู
222
  • บทความ บทความ
XenForo 2.3.10 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo 2.3 upgrade to this release to benefit from...
ตอบกลับ
0
จำนวนการดู
837
  • บทความ บทความ
XenForo 2.3.8 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo 2.3 upgrade to this release to benefit from...
ตอบกลับ
0
จำนวนการดู
307


กลับ
ยอดนิยม ด้านล่าง