Disable Invite Friend button when an event is full

  • John
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 3 months ago #140442 by John
Is there a way to disable (not show) the invite friend button when an event is full?
I know there is a config setting to show the button or not but that is global; I'd like to be able to set the button to show for individual events and have it NOT show when an event is full.
Perhaps this needs to be a feature request, if there is not currently a way to accomplish this?

  

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

More
4 years 3 months ago #140466 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Disable Invite Friend button when an event is full
Hello

Maybe you can get this file, unzip it, upload to folder components/com_eventbooking/themes/default/common to see if it works?

Tuan
Attachments:
The following user(s) said Thank You: John

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

  • John
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 3 months ago #140505 by John
Hi Tuan. I tested and can report back that, yes, when the buttons.php file you provided is used, the Invite Friend button does not show for an event that is full - but it does show for an event that is not full when you view the event details page. Thank you.

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

More
4 years 3 months ago #140510 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Disable Invite Friend button when an event is full
Hi John

I think this makes sense, so I will include this change into core package of Events Booking in the next release

That mean you don't have to worry about this when update to future releases of the extension

Tuan
The following user(s) said Thank You: John

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

Moderators: Tuan Pham Ngoc