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

Use object to make config_file name

 
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 -> General
View previous topic :: View next topic  
Author Message
Abalam
Smarty Rookie


Joined: 14 Jul 2003
Posts: 12

PostPosted: Mon Jul 14, 2003 10:42 am    Post subject: Use object to make config_file name Reply with quote

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
View user's profile Send private message
AZTEK
Smarty Pro


Joined: 16 Apr 2003
Posts: 235
Location: Purdue University

PostPosted: Mon Jul 14, 2003 11:07 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
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 -> General 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