Front End Export PDF

  • abarrow
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 1 month ago #164543 by abarrow
Front End Export PDF was created by abarrow
Is there a way that I can change the columns that are shown in the front end Export PDF results?

Thanks,
Andy

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

More
1 year 1 month ago #164544 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Front End Export PDF
Hi Andy

Code modification will be needed, see docs.joomdonation.com/eventsbooking/regi...ustomized-pdf-layout

Tuan

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

  • abarrow
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 1 month ago #164545 by abarrow
Replied by abarrow on topic Front End Export PDF
found it! Thanks.

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

  • abarrow
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 1 month ago #164546 by abarrow
Replied by abarrow on topic Front End Export PDF
I've successfully added a custom field column, which works great.

Can you please point me to the code snippet I need to add to insert a payment status column?

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

  • abarrow
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 1 month ago #164548 by abarrow
Replied by abarrow on topic Front End Export PDF
Found it!
<td width="8%" style="text-align: right;" class="tdno<?php echo $i; ?>" data-content="<?php echo Text::_('EB_REGISTRATION_STATUS'); ?>">
<?php
switch ($row->published)
{
case 0 :
echo Text::_('EB_PENDING');
break ;
case 1 :
echo Text::_('EB_PAID');
break ;
case 2 :
echo Text::_('EB_CANCELLED');
break;
case 4:
echo Text::_('EB_WAITING_LIST_CANCELLED');
break;
case 3:
echo Text::_('EB_WAITING_LIST');
break;
}
?>
</td>

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

More
1 year 1 month ago #164549 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Front End Export PDF
Great. Happy to hear that you have it working. Please remember to move the change file to template override so that it won't be lost when you update to future releases of the extension

Regards,

Tuan

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

More
6 months 2 weeks ago #168828 by Marco
Replied by Marco on topic Front End Export PDF

Found it!
<td width="8%" style="text-align: right;" class="tdno<?php echo $i; ?>" data-content="<?php echo Text::_('EB_REGISTRATION_STATUS'); ?>">
<?php
switch ($row->published)
{
case 0 :
echo Text::_('EB_PENDING');
break ;
case 1 :
echo Text::_('EB_PAID');
break ;
case 2 :
echo Text::_('EB_CANCELLED');
break;
case 4:
echo Text::_('EB_WAITING_LIST_CANCELLED');
break;
case 3:
echo Text::_('EB_WAITING_LIST');
break;
}
?>
</td>
 
Hi, if I want to insert a column where I indicate whether the participant is enrolled or waitlisted?
What should I enter on the PDF generation file?
What about to sort them with increasing ID?
Thank you

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

More
6 months 2 weeks ago #168838 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Front End Export PDF
Hi Marco

1. On Registrants Management screen, before pressing Export button to export registrants, please click on ID column to sort registrants by that column in the direction you want. Then the registrants will be exported in that direction

2. For showing if registrant is enrolled or waitlisted, you can use the code which is used to show registration status above

Regards,

Tuan

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

More
6 months 2 weeks ago - 6 months 2 weeks ago #168844 by Marco
Replied by Marco on topic Front End Export PDF
Ok perfect, but if I want to see all the results without having multiple pages how do I do it?
Thank you
Last edit: 6 months 2 weeks ago by Marco.

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

More
6 months 2 weeks ago #168850 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Front End Export PDF
I don't understand your last question. Could you please explain more details ?

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc