_doc->loadRenderer('module'); $buffer = ''; foreach (JModuleHelper::getModules($position) as $mod) { $buffer .= $renderer->render($mod, $params, $content); } return $buffer; } }