Loading...
 
Features / Usability

Features / Usability


Re: Language variable for a condition in a Smarty Template

posts: 8633 Israel

I thought so...

I call the template using:

Copy to clipboard
{LIST()} {output tplwiki="videoTutorials_tpl"} {LIST}


In the wiki page (the template) I have:
1: {$frontendLang}
2 : {$language}
3 : {$languages}
4 : {$lang}
All return an empty value.



If I use the Tiki debugger I have for the same variable:
$frontendLang = en
$language = not found
$languages = array of all languages in use
$lang = en

May be something related to the way I’m including the template in the page ?

There are no comments at this time.