News:

Looking for documentation? Take a look on our wiki

Main Menu

new module position

Started by jimpett81, May 19, 2017, 15:55:28 PM

Previous topic - Next topic

jimpett81

Hi,

I have created a simple joomla module thatadd's some buttons for my products. The module itself works fine but I need to position it in the VM product details area - preferably the add-to-cart-area section.

I tried creating a new module position and calling it there but it does not seem to appear when I select the position in my module? Any help would be great.

Thanks,

James

Joomla 3.6.5
VirtueMart 3.0.18

GJC Web Design

call it with the load module content plugin

or try

$modules =& JModuleHelper::getModules('position-4');
foreach ($modules as $module)
{
echo JModuleHelper::renderModule($module);
}

in the template
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jimpett81

Hi,

Thanks for that, the second suggestion worked for me.

Thanks,

James