×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Show Waitlist status on participants page

Show Waitlist status on participants page 9 years 6 months ago #31163

  • Bill Draver
  • Bill Draver's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 43
  • Thank you received: 0
Is there a setting I should choose that allows those participants on the waitlist to show up on the participants page?

Show Waitlist status on participants page 9 years 6 months ago #31185

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Bill,

no this is currently not possible - on this page there are only active participants shown (This is not thought for organizers they have the bookings view with the button next to it, where all bookings are shown).

Kind regards,

Yves

Show Waitlist status on participants page 9 years 5 months ago #31394

  • Bart Wydaeghe
  • Bart Wydaeghe's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi,
I had the exact same problem and I fixed it myself doing these 2 small changes. Be very carefull! Small typos can break the component. Only do this if you understand what's happening. Make sure you can rollback your changes if things go wrong.

In file: components\com_matukio\models\bookings.php
Add
case 'activeandpendingandwaitlist':
$status = "AND (a.status= '2' OR a.status = '1' OR a.status = '0')";
break;
after
case 'activeandpending':
$status = "AND (a.status = '1' OR a.status = '0')";
break;

In file: components\com_matukio\views\participantlist\view.html.php
$this->bookings = $bmodel->getItems($event->id, 'activeandpending');
change this to
$this->bookings = $bmodel->getItems($event->id, 'activeandpendingandwaitlist');

Hope this helps.

Bart W.
  • Page:
  • 1
Time to create page: 0.100 seconds