Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

problème avec {cycle}

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
wartin16
Smarty n00b


Joined: 23 Oct 2008
Posts: 3

PostPosted: Thu Oct 23, 2008 9:15 am    Post subject: problème avec {cycle} Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP