|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Hayreon Smarty Rookie
Joined: 20 Sep 2008 Posts: 6
|
Posted: Sat Sep 20, 2008 8:38 am Post subject: [Résolu] Condition if ne fonctionne pas |
|
|
Bonjour,
J'ai un probleme avec une condition if() qui ne fonctionne pas, sans raison apparente.
Code: | {if $totalpages > 1}
<div class="click_to_pages">Pages 1 | 2</div>
{/if} |
Dans mon code php, en faisant echo $totalpages il m'affiche 2 donc mon div devrai apparaitre non ?
Merci par avance
Edite : Désolé, je pensais qu'il n'était pas nécessaire d'attribuer la variable au template :/ |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|