Edit number of registrants frontend

  • M Thijssen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 2 weeks ago #153805 by M Thijssen
Edit number of registrants frontend was created by M Thijssen
Hi Tuan,

We want to change the number of registrants of one registrant.
In the frontend, when editing, we can change everything accept the number of registrants. 
Could you tell me where I can configure this. :-)   

 

Best regards,
Marcel 
Attachments:

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

More
2 months 2 weeks ago #153818 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Edit number of registrants frontend
Change Number Registrants is actual complicated because we also need to check and validate to make sure there is still slot left to allow adding more registrants and also need to change the payment amount...

For that reason, we do not allow changing it yet. If you want to allow changing, code modification will be needed. You can get this attached file, unzip it, upload to components/com_eventbooking/themes/default/registrant folder, then check to see if it works. If it works, please move this modified file to PATH_TO_TEMPLATE/html/com_eventbooking/registrant folder so that the change won't be lost when you update to future releases of the extension. PATH_TO_TEMPLATE is path to the template which you are using on your site

Regards,

Tuan
Attachments:

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

  • M Thijssen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 1 week ago #153909 by M Thijssen
Replied by M Thijssen on topic Edit number of registrants frontend
Hi Tuan,

Thanks for the file. We've been testing this week.
We can change the amount. Perfect. 
And as you pointed out: we can mistakenly give a greater number than the maximum recipients for an event.
For now we can work with this. Most chances are to decrease the amount recipients.
We will put and caution-message next to this entry-field.
Payment is not an issue in our case :-) As all events are free. 

Thanks again for your help!

Something else: StartDate and EndDate
When testing we found that we can give an earlier endDate than the startDate.
This in the front-end and when logged-in the 'back-end'.
So far we did not mistakenly give n earlier date, but would be good to put extra check in. 

Beste regards
Marcel
 

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

More
2 months 1 week ago #153920 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Edit number of registrants frontend
Hi Marcel

Yes. We will put some kind of validation to make sure event end date (if provided) must be greater than event date in the future

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc