Форумы / Cotonti / Support / IF/ELSE Statements TPL

Macik
#39674 11.08.2014 00:33
#39655 Iceman:

Does cotonti support If statements within if statements?

Yes, it does. You can use:

<!-- IF {VALUE1} -->
Value1 is set
  <!-- IF {ADDITION_VAR} -->
  Addition var is SET also
  <!-- ELSE -->
  Addition var is NOT set 
  <!-- ENDIF -->
<!-- ENDIF -->

 

 

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
Отредактировано: Macik (29.08.2014 14:21, 9 лет назад)