View Single Post
  #4  
Old 10-22-2009, 10:09 AM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default Re: Using Variable for $lng in Template

I'm a little surprised that your approach doesn't work given the cleanup of language substitution in 4.1.x. Double check that eml_some_lang_text is defined in the language the store is set to.

An alternative to your approach is to get the language variable in the PHP code and pass the text to the template:

$langtext = func_get_langvar_by_name("eml_some_lang_text")
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote