Hello colleagues.
Please, orient me:
Is there a trigger for joomla plugins when saving/deleting VM category?
If this is not yet available, maybe it should be implemented?
I would like to be able to make a plugin for such an event.
sadly no .. there is no trigger
I have used a system plugin and filter by
$data = vRequest::getRequest();
if($data['option'] == 'com_virtuemart' && $data['view'] == 'category' && $data['task'] == 'apply'){
}
but difficult to get the data of the cat change
or a core hack in administrator\components\com_virtuemart\models\category.php - the public function store(&$data) ~ line 573 add after the line:
/**************GJC CORE HACK ********************/
VmConfig::importVMPlugins('vmcustom');
$dispatcher = JDispatcher::getInstance();
$dispatcher->trigger('plgVmAfterStoreCategory',array(&$data));
/*************GJC CORE HACK ********************/
Maybe Max would consider adding?
QuoteMaybe Max would consider adding?
Maybe, we are waiting 7 years :)
I understood you. Thank!