Here's the code on how to load a single module:
jimport('joomla.application.module.helper'); $module = JModuleHelper::getModule('mod_module','modtitle'); echo JModuleHelper::renderModule($module);
The downside with this is it won't apply its parameters. I think there's a way on how to do this but I haven't figure it out yet.
try not using prefix mod_ and using & before getting module..
ReplyDeletejimport('joomla.application.module.helper');
$module = &JModuleHelper::getModule('module','modtitle');
echo JModuleHelper::renderModule($module);