Does anyone experience problems to get sottwell’s SetLangCookie multilingual method to work in MODx 0.9.5? It seems that the TV doesn’t catch up on the created cookie...
SetLang TV:
@EVAL
if($modx->documentObject[’parent’] == 0) {
$lang=$modx->documentIdentifier;
}
else
if(isset($_COOKIE[’Language’])) {$lang=$_COOKIE[’Language’];}
else {$lang=$modx->config[’site_start’];}
return $lang;
In 0.9.2 it works just fine..
Further investigation tells me that not even the simplest @EVAL php executes. I tried @EVAL return “The time stamp is now ”.time(); as from the documentation and it doesn’t show in the output. What could be wrong? It’s driving me nuts!
Hi!
I have the same problem with @EVAL. Does not seem to work anymore in 0.95?
Comment in php code return an error. And when i try @EVAL with php code and no comments, i get no error, but i have no outputs... and this was working well in 0.92.
Any clue?
Thanks in advance for your answers...
Hi,
My TVs are still broken. Anyone have a solution?
FYI, i’ve updated from 0.92 to 0.95 without any error, except for my TVs... :’(
PHP code isn’t executed...
Thanks in advance for any answers!
We sit in the same boat! I’m also waiting for a solution...
Hello Opengeek,
I did what you wrote, but nothing more happens for my TV...
Thanks for your help!