Hi! I am trying to port some of my old plugins to latest VM, Joomla 4 and I have difficulties with couple of vmcustom plugins. The short version is, that the code I used to insert my needed code, namely something like this:
class plgVmCustomMyproduct extends vmCustomPlugin {
...
function plgVmOnDisplayProductFEVM3($product,&$group) {
vmdebug('myproduct: plgVmOnDisplayProductFEVM3 ');
....
}
]
seems to not work. And I have no idea what I am doing wrong here.
It works fine with us on both Joomla 4 and Joomla 5. Are you using a third-party template?
Clean J4 with Cassiopeia
Do the other methods/functions are triggered correctly in this custom plugin?
Yes
Turned to be a conflict with another (badly written) vmcustom plugin. Thank you to anyone who contributed and gave me hints. All works since I removed the other plugin.