help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

How does the event bus work in JEM

How does the event bus work in JEM

3 years 10 months ago
#28232
Joomla 3.9.26
JEM 2.3.0

Hi all,

we are relatively new to Joomla and PHP and try to modify some JEM features. One of them is related to the attendees view of my events (views/attendees/tmpl/responsive/default.php), where we want to change the function of the "attendee remove" button.

Currently, the button calls the task "task=attendees.attendeeremove", which we found in the controllers/attendees.php. We noticed that an event is dispatched there, but we could not find the corresponding observer for the event: $res = $dispatcher->trigger('onEventUserUnregistered', array($entry->event, $entry));

We had a look at the Joomla documentation on the JEventDispatcher, noticed that observers need to be registered, but we did not find where the observer in this case is registered in the JEM project. Could anybody please help us and point us to the correct code, so that we can change what happens on the event?

Thank you very much in advance!

Fabian

Please Log in or Create an account to join the conversation.

Re: How does the event bus work in JEM

3 years 8 months ago
#28357
We found the corresponding function, it is in the mailer plugin.
The following user(s) said Thank You: Wolfgang

Please Log in or Create an account to join the conversation.

Time to create page: 0.418 seconds