Available seats in timeline view

  • David Rich
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 7 months ago #137775 by David Rich
Available seats in timeline view was created by David Rich
Is there any way to display the available seats left (i.e. "x of 10 seats left" or similar) in the timeline view (regarding upcoming events)? I know if the view clicks on the "details" button, it displays it there, however I know most people won't click on that button.
Attachments:

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 years 7 months ago #137779 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Available seats in timeline view
Hi David

We do not support displaying that information there. Exactly where it should be displayed? Guess below the location?

And how it should be displayed? You can submit a support ticket sending us:

- Super admin account of the site
- Link to the page
- Explain where and how the information should be displayed

We will help with making the modification

Tuan

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

More
3 years 6 months ago #138154 by Adam Hardy
Replied by Adam Hardy on topic Available seats in timeline view
I'm looking for a way to do this too.

What I'm envisioning is something like this;


I know how to do an override, and have figured where to put it, but I can't figure how to get the number itself.

Adam

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

  • David Rich
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 6 months ago #138155 by David Rich
Replied by David Rich on topic Available seats in timeline view
I submitted a support ticket as they requested about this, and they took care of it for me within 24 hours.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 years 6 months ago #138156 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Available seats in timeline view
Hello

You can use the code like below to get the number:
Code:
$available = $row->event_capacity - $row->total_registrants; echo $available;

Base on that code, hopefully you can implement the override yourself

Regards,

Tuan
The following user(s) said Thank You: Adam Hardy

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

More
3 years 6 months ago #138159 by Adam Hardy
Replied by Adam Hardy on topic Available seats in timeline view
Perfect!

That was exactly what I needed.

Thank You

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 years 6 months ago #138160 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Available seats in timeline view
You're welcome

Tuan

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

Moderators: Tuan Pham Ngoc