|
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 |
Abalam Smarty Rookie
Joined: 14 Jul 2003 Posts: 12
|
Posted: Mon Jul 14, 2003 10:42 am Post subject: Use object to make config_file name |
|
|
Hi,
{config_load file="`$environnement->jeu`_`$user->id_langue`.conf"}
The documentation said that for objects i need `` but smarty doesn't evaluate $user->id_langue and $environnement->jeu. It said that ->jeu_->id_langue.conf doesn't exists...
Can anyone say me what's wrong in my code ?
Thanks !
Abalam |
|
Back to top |
|
AZTEK Smarty Pro
Joined: 16 Apr 2003 Posts: 235 Location: Purdue University
|
Posted: Mon Jul 14, 2003 11:07 am Post subject: |
|
|
What version of Smarty are you using? _________________ "Imagine a school with children that can read and write, but with teachers who cannot, and you have a metaphor of the Information Age in which we live." -Peter Cochrane |
|
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
|