|
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 |
radioharris Smarty n00b
Joined: 26 May 2008 Posts: 1
|
Posted: Mon May 26, 2008 10:02 pm Post subject: objets imbriqués |
|
|
Salut,
J'ai un objet $Event qui contient lui même un objet $Tournoi comme propriété. J'aimerais afficher le nom du tournoi sur mon site, alors je fais :
{$Event->getTournament()->getName()}
Malheureusement, cette instruction ne marche pas, smarty m'affiche l'erreur suivante :
Fatal error: Smarty error: [in includes/gauche.tpl line 3]: syntax error: unrecognized tag: $Event->getTournament()->getName() (Smarty_Compiler.class.php, line 446) in...
Quelqu'un a t-il une idée ?
Merci ! |
|
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
|