- Posts: 240
- Thank you received: 17
Are there more triggered events?
- Donal
- Topic Author
- Offline
- Elite Member
-
Ideally, I'd want OnAfterRegistrantEdit and OnAfterRegistrantCancel in order to write a plugin to more tightly integrate my other systems, but other events like OnNewEvent (althought this may be covered with onAfterSaveEvent) would be nice.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1. We don't support OnAfterRegistrantEdit event trigger at the moment. Will consider supporting it in the future
2. We have onRegistrationCancel event, guess, it's the same with what you requested OnAfterRegistrantCancel
3. onAfterSaveEvent can be used for OnNewEvent . Just check $isNew parameter on onAfterSaveEvent , if it's true, then it's a new event
Tuan
Please Log in or Create an account to join the conversation.
- Donal
- Topic Author
- Offline
- Elite Member
-
- Posts: 240
- Thank you received: 17
And what about events for
1) Completion payment made - final payment after place originally booked with deposit.
2) Event finished - this is triggered when an event end date and time passes? Would like to use this for sending post-event emails, like feedback request.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1. There is a trigger already, it's onDepositPaymentSuccess
2. No, we don't support that trigger. It's honestly, hard to trigger it because it needs cron job. For sending emails, you can use reminder emails feature supported by the extension already
Tuan
Please Log in or Create an account to join the conversation.
- Donal
- Topic Author
- Offline
- Elite Member
-
- Posts: 240
- Thank you received: 17
1) I am a bit confused with terminology used.
Am I correct in saying that
a) onAfterPaymentSuccess is triggered when initial payment is succesfully made, whether full payment or initial deposit
b) onDepositPaymentSuccess is triggered when the completion payment is made?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
What you said is correct.
Tuan
Please Log in or Create an account to join the conversation.
- Donal
- Topic Author
- Offline
- Elite Member
-
- Posts: 240
- Thank you received: 17
Is OnAfterSaveEvent triggered when a new event is created by importing a spreadsheet?Tuan Pham Ngoc wrote: 3. onAfterSaveEvent can be used for OnNewEvent . Just check $isNew parameter on onAfterSaveEvent , if it's true, then it's a new event
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
No, we don't trigger that event on import. If you want to trigger the event, you can modify the code yourself. Look at the file administrator/components/com_eventbooking/model/event.php, add a command inside for loop block (before $imported++):
Hope it helps
Tuan
Please Log in or Create an account to join the conversation.
- Donal
- Topic Author
- Offline
- Elite Member
-
- Posts: 240
- Thank you received: 17
Tuan Pham Ngoc wrote: Hello
1. We don't support OnAfterRegistrantEdit event trigger at the moment. Will consider supporting it in the future
Thanks Tuan. Can you point to the file we would need to modify to include this event?
Regards,
Donal
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
The file is administrator/components/com_eventbooking/model/common/registrant.php, method store
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.