joomla - Can't to place categories module on product page -
i need place "jshopping categories" module @ bottom of product page. on main page module placed @ position 'position-22' . tried using code:
$modules =jmodulehelper::getmodules('position-22'); foreach ($modules $module){ echo jmodulehelper::rendermodule($module); }
but shows no effect. and, if use code :
$document = jfactory::getdocument(); $renderer = $document->loadrenderer('module'); $options = array('style' => 'raw'); $dbo = jfactory::getdbo(); $dbo->setquery("select * #__modules id='91' "); $module = $dbo->loadobject(); $module->params = "heading=2\nlimit=10"; echo $renderer->render($module, $options);
i categories title no images.
i'm using joomshopping component in joomla 3.4.
also i'm thinking use "load module" plugin. how can place custom html "{loadposition position-22}" in page template?
Comments
Post a Comment