Ads

Monday, 7 October 2013

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);

No comments:

Post a Comment