Friday, July 19, 2013

Render modukes inside componet - Joomla

<?php
 $modules =& JModuleHelper::getModules('contact');
 foreach ($modules as $module)
 {
echo JModuleHelper::renderModule($module);
 }
 ?>

Where 'contact' is the name of the position

No comments:

Post a Comment