Calendar BUG? << & >> buttons won't change month

  • James Riley
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 2 months ago #93307 by James Riley
I created a monthly Calendar menu item (in the menu config: month = current month; year = blank ).

THE BUG: The problem ONLY seems to happen when the calendar defaults to the "next month with events" because there are no events in the current month.

I have no January events, so the calendar defaults to the next month with events (February). When I click the << or >> buttons to change to the previous/next month, the page refreshes and the month/year are appended to the page's URL. However, the calendar itself remains on February.

If I manually select a different month/year from the dropdown selector in the calendar header, then the calendar properly updates AND the << & >> buttons work again.

If I add an event in January, then the calendar page defaults to January, and the << & >> buttons work.

See the video below, or visit sttherese.ca/programs-events/upcoming-events-calendar

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.

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

More
9 years 2 months ago #93327 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Calendar BUG? << & >> buttons won't change month
Thanks James for reporting. I am going to check and correct it

Be patient with me, we are having a new year holiday from today - until this time next week, so we will be slower than usual (our new year holiday is different from most countries in the world)

Regards,

Tuan

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

More
9 years 2 months ago #93328 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Calendar BUG? << & >> buttons won't change month
For the time being, maybe you can get this file, unzip it to components/com_eventbooking/model folder. So the system will display the month as normal (no navigating to next month which has events available)

Regards,

Tuan
The following user(s) said Thank You: James Riley

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

  • James Riley
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 2 months ago #93342 by James Riley
Replied by James Riley on topic Calendar BUG? << & >> buttons won't change month
Thanks, Tuan.
Happy New Year :)

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.

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

More
9 years 2 months ago #93369 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Calendar BUG? << & >> buttons won't change month
Thanks James :)

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

More
8 years 10 months ago #98327 by Eric4
Month with no events is not displayed, but replacing calendar.php with your file above fixes it.
Example: No events in May, some events in June, monthly calendar displays June and should display May.
Menu > Details > Default Month: Current Month
Event Booking version 2.14.5
Thank you

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

More
8 years 10 months ago #98345 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Calendar BUG? << & >> buttons won't change month
Hmm. OK, I will check our package again. I thought I removed the changes from the package to have it works in the same way with the version I posted here but I might be wrong

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc