|
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 |
wartin16 Smarty n00b
Joined: 23 Oct 2008 Posts: 3
|
Posted: Thu Oct 23, 2008 9:15 am Post subject: problème avec {cycle} |
|
|
Bonjour,
Alors j'ai un problème avec la fonction {cycle}...J'aimerai l'utiliser pour alterner des données tabulaires. Mais rien à faire j'ai essayé des exemples du net ou même de la doc de Smarty comme celui là :
Code: | <tr bgcolor="{cycle values="#eeeeee,#d0d0d0"}">
|
cela me retourne à chaque fois une erreur comme celle là :
Quote: |
Fatal error: Smarty error: [in catalogue.tpl line 79]: syntax error: unrecognized tag 'cycle' (Smarty_Compiler.class.php, line 590) in D:\weblocal\anadidact\includes\smarty\Smarty.class.php on line 1092 |
Ma version de Smarty est la 2.6.2
Merci de votre aide! |
|
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
|