akeeba / fof

Rapid Application Development framework for Joomla!™ 3 and 4
0 stars 0 forks source link

FOF event problem #671

Closed rauschr closed 5 years ago

rauschr commented 6 years ago

Hi, I would like to add and save new custom field in com_akeebasubs. I have created a plugin. I have put a event function.

protected function onComAkeebasubsModelSubscribeBeforeCreateNewSubscription(Akeeba\Akeebasubs\Model\Subscribe $model, &$data){
            ......
        }
protected function onComAkeebasubsModelSubscribeBeforeSave(Akeeba\Akeebasubs\Model\Subscribe $model, &$data){
            ......
        }

What was the problem?

Could you give me a correct example for it?