Hi,
i'm trying (unsuccessfully) to override the store function in administrator/components/com_eventbooking/model/common/event.php, as its not sending mail to superusers
if (MailHelper::isEmailAddress($eventCreator->email) && !$eventCreator->authorise('core.admin'))
EventbookingHelper::callOverridableHelperMethod('Mail', 'sendEventApprovedEmail', [$row, $config, $eventCreator]);
and i'd like it to!
I've tried creating a event.php under administrator/components/com_eventbooking/model/override but I haven't been able to get it to work.
What should i be overriding?
admin EventbookingModelEvent, or EventbookingModelCommonEvent (which the site model seems to extend?)
If its the common event, do i need to do it under a model/common/override folder?
Thanks
Jeff