Modules Anywhere

Include modules anywhere in Virtuemart add to cart pop-up (padded.php)

3 years 7 months ago #40298

Roger Lightening's Avatar Roger Lightening

Hello all!

I am trying to include a module in the pop-up window when a client adds a product to cart in VirtueMart. I add the text in the correct area in the correct file (padded.php) but the plugin does not work on this file. Is there php code that I can add to this file that will force the inclusion of plugins? I have included an image to show what I mean.

3 years 7 months ago #40299

Peter van Westen's Avatar Peter van Westen Admin

That modal is probably loaded fully through javascript and Virtuemart isn't passing it through the Joomla plugins.
Result: no plugin will be able to do anything in that popup.

Ask Virtuemart for support on this.

3 years 7 months ago #40300

Roger Lightening's Avatar Roger Lightening

Thank you for your quick reply Peter. I will see if they can help.

11 months 3 weeks ago #74982

Toni56's Avatar Toni56

Maybe with triggering the plugin?
I use content plugin triggering a lot as this document describes docs.joomla.org/Triggering_content_plugins_in_your_extension

$text = JHtml::_('content.prepare', $text);
But it doesn't work with Regularlabs plugins I assume because JHtmlContent.prepare works with content plugins and RL plugins are system plugins.
Any idea?

11 months 3 weeks ago #75006

Toni56's Avatar Toni56

I'm sorry, false alert. It works I accidentally disabled the plugin while I tested the system.