mardi 6 janvier 2015

How to do IF ELSE in template file for TemplatePower

Had to work with a project that uses TemplatePower .


My question is: how do I do an IF ELSE statement in the template file (.tpl) to check things like variable existence or output result?


I had searched but to no avail. I also had suspected it was like Smarty and tried {if $variable}{/if} but it didn't work.


Aucun commentaire:

Enregistrer un commentaire