Forums / Cotonti / Support / IF/ELSE Statements TPL

Macik
#39674 2014-08-11 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
This post was edited by Macik (2014-08-29 14:21, 9 years ago)