VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: guidocx842 on December 27, 2012, 12:35:10 PM

Title: [SOLVED] Social share buttons under spacer-buy-area
Post by: guidocx842 on December 27, 2012, 12:35:10 PM
Hi everybody!
I need some help to integrate my social module (http://www.e-max.it/joomla-modules/social-share-buttons.html) under the Add-to-cart button in Virtuemart 2 product details page.
Can you give me some help? I can't {loadposition xxx} from my productdetails/default.php file...
If it's not possible, how can I integrate social buttons under the add-to-cart button? Thank you very much!
Title: Re: [SOLVED] Social share buttons under spacer-buy-area
Post by: guidocx842 on December 27, 2012, 12:52:31 PM
WOW!
I find a reeeealy useful link: http://forum.virtuemart.net/index.php?topic=52539.0

The solution is to place where you want:

Quote<?php $modules =& JModuleHelper::getModules('anymodule');
foreach ($modules as $module) {
   echo "<div>";
   echo JModuleHelper::renderModule($module);
   echo "</div>";
} ?>