static function trigger ($name, $params){
if(self::$dispatcher === null){
if(JVM_VERSION<4){
self::$dispatcher = JEventDispatcher::getInstance();
} else {
self::$dispatcher = JFactory::getApplication();
}
}
if(JVM_VERSION<4){
return self::$dispatcher->trigger($name, $params);
} else {
return self::$dispatcher->triggerEvent($name, $params);
}
}
Quote from: fotonio on Yesterday at 19:18:54 PMHi,If I change it to white;black;red how will I charge a custom price for certain colors?
In the custom field configuration in the Default value insert the colors separated with ;
white;black;red
and Is a list? select As admin list
Quote from: GJC Web Design on March 12, 2024, 12:56:42 PMtemp fix till this is in the core:
components\com_virtuemart\helpers\shopfunctionsf.php ~ line 1256
currently$output = vDispatcher::trigger('onDisplay', array($reCaptchaName, $id, 'g-recaptcha required'));
change to$output = vDispatcher::trigger('onDisplay', array($reCaptchaName, $id, 'g-recaptcha required',null,null,null));
QuoteBtw all Select. must be select. So just lowercase
class plgSystemVD_matomo extends JPlugin {
function plgVmConfirmedOrder($cart, $order) {
//do something
$returnValues = vDispatcher::trigger('plgVmConfirmedOrder', array(&$this, $orderDetails));
$returnValues = vDispatcher::trigger('onplgVmConfirmedOrder', array(&$this, $orderDetails));
class plgSystemVD_matomo extends JPlugin {
function onplgVmConfirmedOrder($cart, $order) {
//do something
Page created in 0.051 seconds with 13 queries.