Change number of persons

  • Carsten Steinbrenner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #117120 by Carsten Steinbrenner
Change number of persons was created by Carsten Steinbrenner
How can I change the number of people after registering?

Best Regards
Carsten

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

More
5 years 7 months ago #117142 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change number of persons
Hello Carsten

If it's a group registration, then you can edit the record. On the edit screen, you can add more members or remove members from the system (to change number of registrants)

However, if it's an individual registration, that number cannot be changed. So maybe deleting that records and add a new record (with number registrants you want)

Regards,

Tuan

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

  • Carsten Steinbrenner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #117586 by Carsten Steinbrenner
Replied by Carsten Steinbrenner on topic Change number of persons
Hi Tuan,

It's a group signup, but I can not change the number.

see attachment

PS: unfortunately, we often have changes in the number of registrations, is there no possibility?
Attachments:

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

More
5 years 7 months ago #117611 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change number of persons
Hello Carsten

Do you collect members information in that group registration? Or you just collect number of registrants for that group only? Could you submit a support ticket sending us super admin account of your site and give us a sample registration record so that I can look at it to see whether it can be changed in a simple way?

Tuan

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

More
5 years 5 months ago #119270 by Joe Hill
Replied by Joe Hill on topic Change number of persons
I also need to change the number of registrants in a group registration. That button is greyed out for "number of registrants."

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

More
5 years 5 months ago #119283 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change number of persons
Hi Joe

To change it, you will need to edit code:

1.Open the file administrator/components/com_eventbooking/view/registrant/tmpl/default.php, find this line of code:
Code:
<input type="text" name="number_registrants" value="<?php echo $this->item->number_registrants ?>" readonly="readonly" />
2. Change it to:
Code:
<input type="text" name="number_registrants" value="<?php echo $this->item->number_registrants ?>" />

After that, you will be able to change the number

Tuan

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

More
5 years 3 months ago #120880 by Kiko
Replied by Kiko on topic Change number of persons
Hi Tuan.

This change works perfect on the backend, but not in the frontend (manage registrants menu, and then click on any of them). I suposse that i need to do the same change in other file, witch one?

Thanks.

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

More
5 years 3 months ago #120908 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change number of persons
Hi Kiko

For frontend, please look at the file components/com_eventbooking/themes/default/registrant/default.php and implement the necessary change

Regards,

Tuan
The following user(s) said Thank You: Kiko

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

Moderators: Tuan Pham Ngoc