[SOLVED] Custom fields on pdf registrants list

  • Trevor Smith
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 months 3 weeks ago #160390 by Trevor Smith
Custom fields on pdf registrants list was created by Trevor Smith
Hi Tuan

Is there a way of replacing one of the columns in the pdf export of the registrants list with a custom field value? I have created an override but can't get the field to display, just an error: Using $this when not in object context

Regards
Trevor
The following user(s) said Thank You: ssnobben

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

More
7 months 3 weeks ago #160399 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom fields on pdf registrants list
Hi Trevor

What field you want to display? You could ot use $this there. Just use the sytax :

echo $row->name_of_field; and it should work

For example echo $row->organization;
echo $row->country;

Regards,

Tuan
The following user(s) said Thank You: Trevor Smith

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

  • Trevor Smith
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 months 3 weeks ago #160402 by Trevor Smith
Replied by Trevor Smith on topic [SOLVED] Custom fields on pdf registrants list
Thank you Tuan, that was easy.

Best regards
Trevor
The following user(s) said Thank You: ssnobben

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

More
7 months 3 weeks ago #160403 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic [SOLVED] Custom fields on pdf registrants list
Yes. I know this kind of customization would be needed, so I prepared code to make it easy to do such customization :).
The following user(s) said Thank You: ssnobben

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

Moderators: Tuan Pham Ngoc