Export list of registrants in PDF with a custom format

  • Frederic Ozon
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 months 3 weeks ago #163145 by Frederic Ozon
Hello,

I need to export the list of my event participants with a specific format and this should include also "custom event field", like I did for the certicate and the tickets.
This document needs to be hand sign to prove their entries.

I try to follow  eventbookingdoc.joomservices.com/registr...port-registrants-pdf
But I do not have the folder : administrator/templates/isis/html/com_eventbooking/common
Should I create manually?

Do you plan a helpful editor like for tickets and certifcates?

Best regards,
Frederic

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

More
3 months 3 weeks ago #163147 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Export list of registrants in PDF with a custom format
Hi Frederic

Yes. You will need to create these missing folder (for template override manually).

Also, if you are using Joomla 4 or Joomla 5, the folder must be administrator/templates/atum/html/com_eventbooking/common

Regards,

Tuan
The following user(s) said Thank You: Frederic Ozon

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

  • Frederic Ozon
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 months 3 weeks ago #163157 by Frederic Ozon
Replied by Frederic Ozon on topic Export list of registrants in PDF with a custom format
Thanks Tuan,

Is it possible to use in the generated pdf, custom fields of the event like defined here:
eventbookingdoc.joomservices.com/basic-s.../event-custom-fields . ?

Regards,
Frederic

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

More
3 months 3 weeks ago #163158 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Export list of registrants in PDF with a custom format
Hi Frederic

We do not have event custom fields available there for using. So if you need it, you will need to write some code in the for loop block:
Code:
$fields = new \Joomla\Registry\Registry($row->custom_fields); echo $fields->get('name_of_field');

That should display value of an event custom field with name name_of_field

Regards,

Tuan
The following user(s) said Thank You: Frederic Ozon

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

  • Frederic Ozon
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 months 3 weeks ago #163159 by Frederic Ozon
Replied by Frederic Ozon on topic Export list of registrants in PDF with a custom format
It works, thanks!

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

More
3 months 3 weeks ago #163160 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Export list of registrants in PDF with a custom format
Great !

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

Moderators: Tuan Pham Ngoc