Sunday, 31 December 2017
  5 Replies
  1.1K Visits
0
Votes
Undo
jEvents Calendar Module shows two days as current day (s. attached screenshot, follow arrows)
Support Info
Production - Medium
Thursday, 11 January 2018 07:01
·
#196518
0
Votes
Undo
Sorry we didn't get to see this on 31 December 2017 - it seems like its either an end of month or end of year issue. Have you noticed it before at the end of a month?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Thursday, 11 January 2018 10:09
·
#196530
0
Votes
Undo
I didn't notice this at the end of a month, only at the end of the year. Some days ago I remember (80 per cent sure) having seen two "current" days again: Dec. 1st and the real current day.
Friday, 12 January 2018 13:16
·
#196568
0
Votes
Undo
If you change the code in modules/mod_jevents_cal/tmpl/ext/calendar.php at lines 211-215 from

$class = ($currentDay["cellDate"] == $today) ? "extcal_todaycell" : "extcal_daycell";
$linkclass = "extcal_daylink";
if($dayOfWeek==0 && $currentDay["cellDate"] != $today) {
$class = "extcal_sundaycell";
$linkclass = "extcal_sundaylink";
}

to

$class = $currentDay["today"] ? "extcal_todaycell" : "extcal_daycell";
$linkclass = "extcal_daylink";
if($dayOfWeek==0 && !$currentDay["today"]) {
$class = "extcal_sundaycell";
$linkclass = "extcal_sundaylink";
}

it should resolve this issue

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Friday, 12 January 2018 13:19
·
#196569
0
Votes
Undo
Will you include this patch into your next update of jevents?
Thursday, 18 January 2018 10:45
·
#196687
0
Votes
Undo
yes - the change will be in the next release of JEvents

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.