- Posts: 12
- Thank you received: 0
Apply 24 hour cancellation rule
- alryalls
- Topic Author
- Offline
- New Member
-
Less
More
13 years 5 months ago #18820
by alryalls
Apply 24 hour cancellation rule was created by alryalls
Hi
Is it possible to add a 24 hour cancellation rule?
Can the code be modified to do this?
If yes, where?
Thanks
Is it possible to add a 24 hour cancellation rule?
Can the code be modified to do this?
If yes, where?
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
13 years 5 months ago #18838
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Apply 24 hour cancellation rule
Hi
Right now, the extension use date for cancellation rule, not hours, so basically, it is not possible. If you want to customize it, here are some clues :
1. You will need to customize code in the file administrator/components/com_eventbooking/views/event/tmpl/default.php to allow administrator to enter the hours which allow users to cancel registration.
2. You will need to customize function canCancelRegistration in the file components/com_eventbooking/helper/helper.php to check to see whether the current logged in users can cancel the registration.
You must have a strong programming skill to do this customization .
Tuan
Right now, the extension use date for cancellation rule, not hours, so basically, it is not possible. If you want to customize it, here are some clues :
1. You will need to customize code in the file administrator/components/com_eventbooking/views/event/tmpl/default.php to allow administrator to enter the hours which allow users to cancel registration.
2. You will need to customize function canCancelRegistration in the file components/com_eventbooking/helper/helper.php to check to see whether the current logged in users can cancel the registration.
You must have a strong programming skill to do this customization .
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
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.
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.