Event Booking Calendar page Monthly view bug

More
6 years 2 weeks ago #111925 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event Booking Calendar page Monthly view bug
Hi Robin

To be more clear, it is not a bug of Events Booking. It's just a compatible issue which happens because some changes in Joomla 3.7.x API (I don't remember exactly the version), so it's basically out of our control

I could not provide patch for different version of Events Booking (all old versions of Events Booking are affected), also, there are some changes in PayPal system (affect from June this year) requires updating to latest version of Events Booking....., too

So you should update to latest version anyway

Regards,

Tuan

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

More
6 years 2 weeks ago #111926 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event Booking Calendar page Monthly view bug
I don't remember exactly what modification is included. But maybe you can try this;

1. Open the file components/com_eventbooking/view/calendar/html.php

2. Find this block of code;
Code:
foreach ($listMonth as $key => $monthName) { if ($key < 9) { $value = "0" . ($key + 1); } else { $value = $key + 1; } $options[] = JHtml::_('select.option', $value, $monthName); }

3. Change it to:
Code:
foreach ($listMonth as $key => $monthName) { $value = $key + 1; $options[] = JHtml::_('select.option', $value, $monthName); }

It might solve the issue

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc