2012-09-12, 04:17:31
Hello,
Many thanks for this and all your plugins...
I've trouble to obtain current language!
I build the home page from the template in a loop doing different hings and taking elements elsewhere, some are text, some images...
So in the HTML I've different PHP call. In the main one, I need to know the actual selected language to pick elements in the right pages.
I tried variable $language like that:
<?php
...
...
...
global $language;
$curL = $language;
...
...
...
?>
But $curL give me "Array" when I echo it!
any idea?
best
Many thanks for this and all your plugins...
I've trouble to obtain current language!
I build the home page from the template in a loop doing different hings and taking elements elsewhere, some are text, some images...
So in the HTML I've different PHP call. In the main one, I need to know the actual selected language to pick elements in the right pages.
I tried variable $language like that:
<?php
...
...
...
global $language;
$curL = $language;
...
...
...
?>
But $curL give me "Array" when I echo it!
any idea?
best