Hide Event Capacity & Registered Fields

  • Lon Czarnecki
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 2 months ago #111549 by Lon Czarnecki
Hide Event Capacity & Registered Fields was created by Lon Czarnecki
On the event detail page, on the table that shows event Date, Capacity, Location, Price, etc. I don't want the fields for Capacity or Registered to show on this table. If I don't put a price in the event, then the Individual Price field doesn't show up on the Event Detail page, but if I don't put in a capacity then the Event Detail page shows "Unlimited".

How do I hide the Capacity & Registered fields from the front end Event Detail Page?

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

More
7 years 2 months ago #111554 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Event Capacity & Registered Fields
Hi Lon

Go to Events Booking -> Configuration, look at Themes tab, you will see config option to allow turning of displaying that data

Regards,

Tuan

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

  • Lon Czarnecki
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 1 month ago #111586 by Lon Czarnecki
Replied by Lon Czarnecki on topic Hide Event Capacity & Registered Fields
Thanks Tuan,

That helps for all event. I assume there isn't a way to then hide it for some events and let it show for other events?

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

More
7 years 1 month ago #111601 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Event Capacity & Registered Fields
Hi Lon

Yes. That will affect all events. We don't have these kind of settings for individual events

Regards,

Tuan

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

  • Lon Czarnecki
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 1 month ago #111668 by Lon Czarnecki
Replied by Lon Czarnecki on topic Hide Event Capacity & Registered Fields
Tuan,

Is there a way to hide the Group Rates from showing on the Event Detail page? I want to have group rates but just don't want them to show on the detail page.

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

More
7 years 1 month ago #111669 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Event Capacity & Registered Fields
Hi Lon

You would have to edit code if you want to remove it. We don't have a config option to turn it off, unfortunately

The file you need to edit is components/com_eventbooking/view/event/tmpl/default.php

Just remove this block of code from the file
Code:
if (count($this->rowGroupRates)) { echo $this->loadTemplate('group_rates'); }

After the modification is done, please move the changed file to PATH_TO_TEMPLATE/html/com_eventbooking/html/event 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.

  • Lon Czarnecki
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 1 month ago #111672 by Lon Czarnecki
Replied by Lon Czarnecki on topic Hide Event Capacity & Registered Fields
Yup, Worked like a charm.

Thanks Tuan.

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

More
7 years 1 month ago #111674 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Event Capacity & Registered Fields
Great :)

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

Moderators: Tuan Pham Ngoc