Upgraded from 2.2.5 to 2.2.7 and some links quit displaying. Intracontext links work fine, but a link to a different context disappears. I'm using Babel with a site, with contexts for web, english and german. My CSS file is a MODX page in the web context. In the language-context templates I have this line:
<link href="[[~2]]" rel="stylesheet" type="text/css" />
The resulting HTML now looks like this:
<link href="" rel="stylesheet" type="text/css" />
Also, within each language context - my template includes the snippet "other_language_link":
$other_language_link = '';
if ($modx->getOption('cultureKey') == 'en') {
$other_language_link = '<a href="[[~4]]">Deutsch</a>';
}
else {
$other_language_link = '<a href="[[~3]]">English</a>';
}
return $other_language_link;
Which now yields:
The resources all exist and this was all working right up until I upgraded the MODX version in MODX cloud. Any suggestions?
[ed. note: ksofttech last edited this post 13 years, 5 months ago.]