fbpx

How to render a module in Joomla 3 by Position

HOW-TO-RENDER-A-MODULE-IN-JOOMLA-3-BY-POSITION-01

Here is how you render a module in Joomla 3 based on Position

.

< ?php
 jimport('joomla.application.module.helper');

$modules = JModuleHelper::getModules('POSITIONHERE');
foreach ($modules as $module) {
echo JModuleHelper::renderModule($module);
}
? > 

Using the above code in any Joomla file, will render the module.

Rate this blog entry:

Best Joomla Templates

Extremely Flexible, Responsive and User Friendly

Explore Templates