|
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 |
netmastan Smarty Regular
Joined: 02 Jul 2004 Posts: 64
|
Posted: Sat Jan 15, 2005 6:37 am Post subject: variable inside variable does not work ie. $lang.error in va |
|
|
hi,
I have added language file to my script.
I am trying to the following thing, but its not displaying
Code: |
{validate field="origin" criteria="notEmpty" message="$lang.booking_error_origin"}
|
Even the following code is not working
Code: |
{validate field="origin" criteria="notEmpty" message="{$lang.booking_error_origin}"}
|
Anything i m missing..
Regards |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Sat Jan 15, 2005 4:22 pm Post subject: |
|
|
{validate field="origin" criteria="notEmpty" message=$lang.booking_error_origin} |
|
Back to top |
|
netmastan Smarty Regular
Joined: 02 Jul 2004 Posts: 64
|
Posted: Sat Jan 15, 2005 8:45 pm Post subject: wow |
|
|
Thank you man.
You are very helpful and fast in reply.
Regards |
|
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
|