So, you want to load a module position in Virtuemart Pages?

Put this in your default.php, wherever you want that position to load. Works exactly like {loadposition xx} in regular content.

<?php

$modules =& JModuleHelper::getModules(‘position’);
foreach ($modules as $module)
{
echo JModuleHelper::renderModule($module);
}
?>

Remember to change “position” to the name you’ve created.

More options/info available at stackoverflow

 

Leave a Reply