Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

5/5 - (1 vote)

Extension plugins are used both in the front-end and the backend. They should be created as classes deriving from the base class  VmExtendedPlugin:

public function __construct (&$subject, $config=array()) {
parent::__construct($subject, $config);
$this->_path = JPATH_PLUGINS.DS.$this->getName();
JPlugin::loadLanguage('plg_vmextended_'.$this->getName());
}

List with events and a description on what moment they are fired.

onVmAdminController()
This event is fired, when the called view was not found in the backend maincontroller. It allows to add new views to virtuemart 2.

Return:
It must execute the controller in the plugin.

Parameters:

  1. (String ) Name of the controller

onVmSiteController()
This event is fired, when the called view was not found in the frontend maincontroller. It allows to add new views to virtuemart 2.
Return:
It must execute the controller in the plugin.
Parameters:

  1. (String ) Name of the controller

onVmSqlRemove()
Plugs into the updater model to remove additional VM data (useful if the plugin depends on fields in a VM table)

onVmSqlRestore()
Plugs into the updater model to reinstall additional VM data (useful if the plugin depends on fields in a VM table)

plgVmAfterUserStore()

Return:
$data the manipulated data
Parameters:

  1. (array $data) formdata as array

plgVmOnUserStore()

Return:
nothing special
Parameters:

  1. (array $data) formdata as array

From https://docs.virtuemart.net

ET Digital Team

Leave a Reply

Your email address will not be published. Required fields are marked *

For Joomla! users! After update to Joomla! V5.2.4, your header area is removed, how to fix it? Check it out
00d
07h
37m
59s
Spring Sale! Get 50% OFF for your purchase on today! Coupon code: SPRING50 Redeem Now