"Ticket code is empty"

More
3 weeks 6 days ago #176018 by Bernd
"Ticket code is empty" was created by Bernd
"Ticket code is empty" is the message I receive after scanning with QR Code Plus.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 weeks 6 days ago #176039 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic "Ticket code is empty"
Hi Bernd

I haven't checked that APP for long time. Maybe you should use built-in QRCODE scanner instead docs.joomdonation.com/eventsbooking/adva...lt-in-qrcode-scanner ?

Or if you have a handheld scanner, use this method docs.joomdonation.com/eventsbooking/adva...nts-handheld-scanner

Regards,

Tuan

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

More
3 weeks 6 days ago #176052 by Bernd
Replied by Bernd on topic "Ticket code is empty"
Thanks for the reply. I have another question: can I also display the "Available Spaces" field directly in the Category - Timeline Layout?
event.smooth-project.de/timline.png

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 weeks 5 days ago #176056 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic "Ticket code is empty"
Hi Bernd

We do not support that in the layout at the moment. So if you really need it, customization to layout would be needed

The file you need to customize is components/com_eventbooking/themes/default/common/events_timeline_layout.php . You can use code below to display available spaces:

echo max($event->event_capacity - $event->total_registrants, 0);

Keep in mind that once the modification is done, please move the modified file to template override so that the change 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
3 weeks 5 days ago #176058 by Bernd
Replied by Bernd on topic "Ticket code is empty"
Thank you very much, the participants are now displayed.

How can I add the words "Free places"?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 weeks 5 days ago #176059 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic "Ticket code is empty"
Maybe echo 'Free places: ' .max($event->event_capacity - $event->total_registrants, 0);

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

More
3 weeks 5 days ago #176060 by Bernd
Replied by Bernd on topic "Ticket code is empty"
It works, thanks for the good support.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 weeks 5 days ago #176061 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic "Ticket code is empty"
Great. Remember to move the modified file to template override so that the change 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.