Show Organization in Registrantlist (default.php)

More
9 years 11 months ago - 9 years 11 months ago #80045 by mads
I just downloaded and installed the latest, 2.4.2, and once again I would like to display the Organization column of the registrant in the registrant list (/index.php?option=com_eventbooking&view=registrantlist&id=#)

What would be the code to get that done, and where would I place it?

I tried to place in /components/com_eventbooking/view/registrantlist/tmpl/default.php:
<th class="<?php echo $hiddenPhoneClass; ?>">
<?php echo JText::_('EB_ORGANIZATION'); ?>
</th>

right above:
<th class="<?php echo $hiddenPhoneClass; ?>">
<?php echo JText::_('EB_REGISTRATION_DATE'); ?>
</th>

and that didn't work. What happened was the Register Dates started displaying under the Organization column, and the actual Date column empty.
Last edit: 9 years 11 months ago by mads.

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

More
9 years 11 months ago #80048 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show Organization in Registrantlist (default.php)
Hi

You can get this file, unzip it, upload to components/com_eventbooking/view/registrantlist/tmpl folder of your site and it will work well

Or better, put the file under PATH_TO_YOUR_TEMPLATE/html/com_eventbooking/registrantlist folder so that you won't have to re-upload the file each time you update Events Booking (that's called template override in Joomal)

Regards,

Tuan

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

More
9 years 11 months ago #80082 by mads
Thank you, Tuan, that worked just fine. :)

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

More
9 years 11 months ago #80121 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show Organization in Registrantlist (default.php)
I know I know :D.
The following user(s) said Thank You: mads

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

More
7 years 11 months ago #112062 by mads
default.php no longer works on the version that the client is using.

Could you provide a new working default.php?

They also want all the registrants to show on a single page.

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

More
7 years 11 months ago #112063 by mads
Let me clarify, it does work -- almost.

But it is only displaying 20 registrants.

There are at least 35 registrants and yet the default.php is only displaying 20.

Can you make it so that it displays ALL registrants on a single page, please?

Thank you.

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

More
7 years 11 months ago #112064 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show Organization in Registrantlist (default.php)
Hello

What version of the extension you are using? In the latest version, we have pagination, so you can navigate to different pages to see list of all registrants

From what I see, look like you are using a very outdated version purchased from 2013, so I am afraid of it won't work

If you are using latest version, submit a support ticket and we will check to see why the pagination is not being displayed and get it corrected for you

Regards,

Tuan

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

More
7 years 11 months ago #112065 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show Organization in Registrantlist (default.php)
And to be more clear, if you are using latest version, the list of fields are customization, no modification to the code is needed

See eventbookingdoc.joomservices.com/fronten...-on-registrants-list

Tuan

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

More
7 years 11 months ago #112095 by mads
Event Booking version 3.0.3

That's the version the client is using. It was purchased not on this account.

And they want all registrants to show on a single page, not pagination.

Could you get me a default.php to make that happen please?

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

More
7 years 11 months ago #112103 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show Organization in Registrantlist (default.php)
Hi

We will need to modify code on different file, not this default.php file. Ask he is using an old version of Events Booking, please ask him to submit a support ticket (you can submit a support ticket on behalf of the client, but please give me the email he used to purchase the product so that we can verify his order). After that, we will make modification on the site (using override) to have all records displayed

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc