1 min read

Rendering a module inside a component

   $document   = &JFactory::getDocument();
   $renderer   = $document->loadRenderer(‘module’);
   $params   = array(‘style’=>$style);

   echo $renderer->render(JModuleHelper::getModule(‘mod_login’), $params);
Share your Love

Leave a Reply

Your email address will not be published. Required fields are marked *