I am trying to add new module positions, inside the product layout.
I inserted the following in the product template override file (php):
<jdoc:include type="modules" name="product-modules-bottom" />
I then assigned a custom module to that position. But it doesn't seem to work?
Something I missed?
Thanks
QuoteSomething I missed?
yep .. that is only joomla template code
try
$modules = JModuleHelper::getModules('your_position');
foreach ($modules as $module)
{
echo JModuleHelper::renderModule($module);
}
You can also try this :
echo JHtml::_('content.prepare', '{loadposition YOUR_POSITION}');
Thank you people!