Reputation: 135
I have an instance of 'breadcrumbs' module created on my site, set to be displayed at 'customposition'. There is a component which has a series of web pages written in HTML. How do I specify the location of customposition in those webpages, so that joomla displays the module within my component?
Regards, Abhi
Upvotes: 0
Views: 203
Reputation: 135
Found it! JModuleHelper to the rescue :)
Here's the code from the link:
$modules =& JModuleHelper::getModules('position_name');
foreach ($modules as $module){
echo JModuleHelper::renderModule($module);
}
Upvotes: 3