By Guest on Sunday, 31 December 2017
Replies 5
Likes 0
Views 1.1K
Votes 0
jEvents Calendar Module shows two days as current day (s. attached screenshot, follow arrows)
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?
·
Thursday, 11 January 2018 07:01
·
0 Likes
·
0 Votes
·
0 Comments
·
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.
·
Thursday, 11 January 2018 10:09
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
Friday, 12 January 2018 13:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Will you include this patch into your next update of jevents?
·
Friday, 12 January 2018 13:19
·
0 Likes
·
0 Votes
·
0 Comments
·
yes - the change will be in the next release of JEvents
·
Thursday, 18 January 2018 10:45
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post