Hi there,
I've created a plugin based on the K2 example plugin. I've copied the structure from example.php in the download, but added:
function onAfterK2Save(&$item, $isNew) {
echo 'onAfterK2Save';
die();
return true;
}
Obviously that's not what I want to happen, but I'm so far failing to get the code to execute at all. Is there something I'm missing? The rest of my functionality is in onK2PrepareContent, and that works fine.
This is using the most recent versions of K2 and Joomla!
Thanks,
Toby