How to show custom event fields in registration history?

  • Matthew Bourne
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 6 months ago #125558 by Matthew Bourne
This is not a repeat of the custom registration fields although I guess it might have a similar answer?

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

More
5 years 6 months ago #125563 by Tuan Pham Ngoc
Hello Matthew

Unfortunately, we don't support showing custom fields (Registration and Event custom fields) in Registration History

So if you want to show these information, you will need to customize the code

Regards,

Tuan

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

  • Matthew Bourne
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 6 months ago #125566 by Matthew Bourne
Ok for others looking I created override template

and added this code

tinyurl.com/y2no6ds9
The following user(s) said Thank You: Tuan Pham Ngoc

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

More
5 years 6 months ago #125573 by Tuan Pham Ngoc
Thanks for sharing the code Matthew

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

More
5 years 4 months ago - 5 years 4 months ago #127531 by lucy
Which file did you change? And why a screen cap and not just plain text?
Last edit: 5 years 4 months ago by lucy.

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

More
5 years 4 months ago #127537 by Tuan Pham Ngoc
Hello

If you want to show event custom fields on registration history page, you will need to modify code in the file components/com_eventbooking/themes/default/history/default.php

The code above by Matthew only show you how to get data of an event custom field. You need to modify code more than that to have it works as expected (need to have some programming skill to do the modification)

Regards,

Tuan
The following user(s) said Thank You: Josh Gilson

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

More
5 years 3 months ago #127650 by lucy
I looked through the code, and it looks like there is a setting to display event date. Do you know where that is? I found some settings for registration history, under configuration/themes.

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

More
5 years 3 months ago #127656 by Tuan Pham Ngoc
Hello

If you want to show event date, go to Events Booking -> Configuration, look at Themes tab, set Show event date config option to Yes and it should work as expected

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc