Registrants

  • gojyuan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 9 months ago #17636 by gojyuan
Registrants was created by gojyuan
Hi Tuan,

When I view the registrants, the status is showing as Pending, but the Export Registration shows Not Paid.

Would it be possible to show the Registration Status on Registrant Management as text instead of a button? I realise this is probably a recent modification to have a pending payment.

This issue is related to my problem with Paypal where the payment is not being recognized by EB.

Thank you
Linda.

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

More
12 years 9 months ago #17647 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Registrants
Hi Linda

Unfortunately, it is not possible to do that without customizing code. The reason it is displayed as button is that it allows you change status of the registration record from Pending (not Paid) to Active (Paid) by clicking on that icon.

If you want to change the text, you will need to modify code yourself. The steps are :

1. Open the file administrator/components/com_eventbooking/views/registrants/tmpl/default.php

2. Find the code below (around line 224) :
Code:
<?php echo $published ; ?>

3. Change it to :
Code:
<?php switch($row->published) { case 0: echo JText::_('Pending'); break; case 1 : echo JText::_('Paid'); break ; case 2 : echo JText::_('Cancelled'); break ; } ?>

Hope this help .

Tuan

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

Moderators: Tuan Pham Ngoc