Past events not disappearing from the calendar

  • mikej
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
14 years 4 days ago #9009 by mikej
Hello,

I have changed the option in the background to hide past events, but they are still showing up after they have already passed. I had an event (Test event) set to start on 05/03/2011 and end on 05/04/2011 and it is still showing up on the calendar, however it say "We are no longer accepting registration for this event" which is good, but I don't think passed events should be showing at all in the front end?

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

More
14 years 4 days ago #9010 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Past events not disappearing from the calendar
Right now, if you choose Hide Past Events, they will be hided in category layout..., however, It is still be showed in the calendar. In the next release, I will hide it from calendar, too !

Regards,

Tuan

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

More
14 years 3 days ago #9029 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Past events not disappearing from the calendar
Hi

I just added this feature to the extension. Now, when you choose "Hide Past Events" to "Yes" in the config option, the past events won't be displayed in the calendar, too .

There are two files was modified : components/com_eventbooking/models/category.php and components/com_eventbooking/models/calendar.php

Regards,

Tuan

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

  • mikej
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
14 years 3 days ago #9031 by mikej
Thanks! I can download and just upload those two files so not to overwrite any changes I made to other files right?

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

More
14 years 3 days ago #9033 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Past events not disappearing from the calendar
Correct ! You can find the two files under site/models when you unzip the file com_eventbooking.zip in the package !

Regards,

Tuan

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

  • mikej
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
13 years 11 months ago #9088 by mikej
Thanks, made the changes and works great!

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

More
13 years 11 months ago #9101 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Past events not disappearing from the calendar
OK, Great !

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

Moderators: Tuan Pham Ngoc