View registrants list

  • Bamce Fabricius (TekFix)
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #57281 by Bamce Fabricius (TekFix)
View registrants list was created by Bamce Fabricius (TekFix)
The registrant list opens in a popup window, which I consider a bad thing. Is there any way of showing the list directly on the event details page? How can I change the columns of the view registrants list?

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

More
11 years 2 months ago #57301 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic View registrants list
Hi

If we display it directly on events detail page, I am afraid of the page will be too long. So we still need to open it in a popup window or on a new page

How can I change the columns of the view registrants list?


=> I don't understand this question. Could you please explain more details ?

Tuan

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

  • Bamce Fabricius (TekFix)
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #57304 by Bamce Fabricius (TekFix)
Replied by Bamce Fabricius (TekFix) on topic View registrants list
The length is not a problem - it is very common that the lists are directly visible (see JEevents&RSVPro and DT Register and others).

In the popup there is number, first name, last name, number of registrants, reg.date. I want to change it as number is irrelevant (all registrations are individual), the date is redundant but we need to show some custom fields.

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

More
11 years 2 months ago #57306 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic View registrants list

The length is not a problem - it is very common that the lists are directly visible (see JEevents&RSVPro and DT Register and others).


=> Sorry, it is not possible at the moment. Will consider adding support for it in the next release (via a plugin)

In the popup there is number, first name, last name, number of registrants, reg.date. I want to change it as number is irrelevant (all registrations are individual), the date is redundant but we need to show some custom fields


=> You need to modify code in the file components/com_eventbooking/views/registrantlist/tmpl/default.php to remove the fields you don't want. To show extra custom fields, you can edit the event, look at Advanced Settings tab, in the Custom Field Ids field, enter IDs of the custom fields you want to show in the list (comma separated) and it will be showed

Tuan

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

  • Bamce Fabricius (TekFix)
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #57317 by Bamce Fabricius (TekFix)
Replied by Bamce Fabricius (TekFix) on topic View registrants list
Fine, thank you - I will try that.

Hoping for a quick release of the plugin :-)

Thanks for fast support! Keep up the good work! :)

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

More
11 years 1 month ago #57347 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic View registrants list
I will try my best :).

Tuan

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

  • Bamce Fabricius (TekFix)
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 1 month ago - 11 years 1 month ago #57417 by Bamce Fabricius (TekFix)
Replied by Bamce Fabricius (TekFix) on topic View registrants list
Removing the unnecessary columns was easy (I made an override file in my template/html and commented them out).

But there is still something that I don't get. I have added 6,8,12 (the city,country,email IDs) to the "Custom Field IDs" for the event, and the headers show up as they should in the registrants list but no data? The data is there when I look at the registrants details in the backend. The lines in default.php that should bring up the data are
Code:
<?php if ($this->displayCustomField) { foreach($this->fields as $fieldId) { ?> <td class="hidden-phone"> <?php echo $this->fieldValues[$row->id][$fieldId] ; ?> </td> <?php } } ?>

Is there something wrong with that part - I can't figure it out? Or am I missing some setting somwhere? :blink:
Last edit: 11 years 1 month ago by Bamce Fabricius (TekFix).

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

More
11 years 1 month ago #57452 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic View registrants list
Ah, that settings only affect none-core fields. The field Ids you entered are IDs of core fields, so it doesn't work. I will edit code abit and send you the updated version later today

Tuan

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

More
11 years 1 month ago #57994 by Tony Cline
Replied by Tony Cline on topic View registrants list
Hi Tuan,
I would like to display field #3 on the front end "view registrants" which is "Organization" and is a core field. Is this possible?

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

  • Bamce Fabricius (TekFix)
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 1 month ago #58154 by Bamce Fabricius (TekFix)
Replied by Bamce Fabricius (TekFix) on topic View registrants list
Hello Tuan,
Any chance of getting a version that can show selected core fields in the registrants list? I have not recieved an updated version yet. We are going to publish our new webpage this week, and would be very happy to be able to show the necessary details...

Bamce

Tuan Pham Ngoc wrote: Ah, that settings only affect none-core fields. The field Ids you entered are IDs of core fields, so it doesn't work. I will edit code abit and send you the updated version later today

Tuan

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

Moderators: Tuan Pham Ngoc