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.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting