- Posts: 61
- Thank you received: 0
minimum number participants group registration
- Cynthia
- Topic Author
- Offline
- Senior Member
-
Less
More
14 years 5 months ago #5770
by Cynthia
minimum number participants group registration was created by Cynthia
Currently the minimum number of registrants for a group registration is 2. Can I change that, and in which file?
Best regards, Cynthia
Best regards, Cynthia
Please Log in or Create an account to join the conversation.
- Cynthia
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 61
- Thank you received: 0
14 years 5 months ago - 14 years 5 months ago #5787
by Cynthia
Replied by Cynthia on topic Re: minimum number participants group registration
It took a while, but found it!
Change this file: com_eventbooking/vieuws/register/tmpl/group.php
line 54: if (parseInt(form.number_registrants.value)< 2) {
change 2 into the desired minimum number of registrants.
You might also want to change the possibility to 'skip this member'.
It's in this file: com_eventbooking/vieuws/register/tmpl/group.php
line 190: if ($this->currentMember > 2) {
change the 2 again.
And don't forget to change the text in Configuration->Messages, in the field Number of members Form Message. You want to let people know the minimum number of registrants that they should to fill in.
Change this file: com_eventbooking/vieuws/register/tmpl/group.php
line 54: if (parseInt(form.number_registrants.value)< 2) {
change 2 into the desired minimum number of registrants.
You might also want to change the possibility to 'skip this member'.
It's in this file: com_eventbooking/vieuws/register/tmpl/group.php
line 190: if ($this->currentMember > 2) {
change the 2 again.
And don't forget to change the text in Configuration->Messages, in the field Number of members Form Message. You want to let people know the minimum number of registrants that they should to fill in.
Last edit: 14 years 5 months ago by Cynthia.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
14 years 5 months ago #5795
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: minimum number participants group registration
Hi
Thanks for posting your solution here. In the current version, the minimum number of members in group registration is hard coded to 2 by default. In the next version, I will add it as a parameter which you can change while creating/editing event from back-end
Thanks,
Tuan
Thanks for posting your solution here. In the current version, the minimum number of members in group registration is hard coded to 2 by default. In the next version, I will add it as a parameter which you can change while creating/editing event from back-end
Thanks,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.