mcluca Posted July 16, 2013 Share Posted July 16, 2013 Hi. Who can help me? i want force to compile automatically smarty if i enter same if statement in tpl page. Example <p class="home"> {if (time() < strtotime("07/16/2013 11:59PM"))} SCONTO + BUONO SCONTO<br> <p id="home_text" class="home">Scopri come avere un buono sconto pari al 20% della cifra spesa e pagare il secondo prodotto la meta'. <br>La promozione scade il 16 Luglio!</p><br><br><br> <br><br><br><br><br> <!-- IN ARRIVO --> </p> <a class="box_home" href="http://www.lamacrobiotica.it/shop/cms.php?id_cms=17">Clicca qui</a> {else} <p class="home2"> IN ARRIVO </p> {/if} Manualy is ok but i must remember to force smarty from PS back-end Any solution? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts