This question has been answered by sottwell. See the first response.
[29-Nov-2014 10:10:25 Asia/Jerusalem] PHP Parse error: syntax error, unexpected 'more' (T_STRING) in /Applications/MAMP/htdocs/babel/core/cache/includes/elements/modplugin/1.include.cache.php on line 18
<?php
if($modx->context->get('key') != "mgr"){
/* grab the current langauge from the cultureKey request var */
switch ($_REQUEST['cultureKey']) {
case 'en':
/* switch the context */
$modx->switchContext('en');
break;
default:
/* Set the default context here */
$modx->switchContext('web');
break;
}
/* unset GET var to avoid
* appending cultureKey=xy to URLs by other components */
unset($_GET['cultureKey']);
}
- See more at: http://www.multilingual-modx.com/blog/2011/seo-friendly-multilingual-websites-with-modx-and-babel.html#sthash.t6PwGVw0.dpuf
thanks again, I'll probably try the other option you gave me, I'll look into it later tonight.