Show field capacity in events list on frontend

  • EllyZ
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 1 week ago #142938 by EllyZ
Hi,
I was wondering if it s possible to show the capacity field in the events list on frontend?
Regards, Elly
 

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

More
4 years 1 week ago #142941 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show field capacity in events list on frontend
Hello

Could you send me the link to the page you are talking about so that we can look at it and guide you ?

Regards,

Tuan

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

  • EllyZ
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 1 week ago - 4 years 1 week ago #142970 by EllyZ
Hi Tuan,

It's a page for administrators only.
I've attached the events list in a printsceen I think you will know what i mean when you see it.
So what I would like to see in this events list is the capacity field.
If not I will give you access to our website.
Please let me know
 
Last edit: 4 years 1 week ago by EllyZ.

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

More
4 years 1 week ago #142974 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show field capacity in events list on frontend
Hello

We do not show that information there. If you want to show it, you will have to modify code in the file components/com_eventbooking/themes/default/events/default.php

For each row, use echo $row->event_capacity; to display that data

Once modification is done, you should move the modified file to PATH_TO_TEMPLATE/html/com_eventbooking/events folder 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.

  • EllyZ
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 1 week ago #142996 by EllyZ
Thank you very much Tuan, we've managed to do this like you explained.

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

More
4 years 1 week ago #142999 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show field capacity in events list on frontend
Great. Happy to hear that.

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

Moderators: Tuan Pham Ngoc