...
function getContents(&$templateMgr) {
$schedConf = Request::getSchedConf();
if ($schedConf){
$sponsors = $schedConf->getSetting('sponsors');
if ($sponsors){
$templateMgr->assign_by_ref('sponsors', $sponsors);
return parent::getContents($templateMgr);
}
}
}
...
Everywhere else in OCS any request for the sponsors setting uses getSetting(), i.e. not localized. Could you try the same code again with getSetting('sponsors') instead of getLocalizedSetting('sponsors')...
Users browsing this forum: No registered users and 0 guests