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
|