Hi, with Suite7 theme in Calendar > Shared Month
you see the day numbers in the week headers while it is supposed to see just the day of the week (Monday, Tuesday,…)
A possible solution could be to check the GET value; if view=‘sharedMonth’ then you don’t have to show the number in headers.
in
\modules\Calendar\fullcalendar\fullcalendar.js
row #3427 you can change
headCellHtml: function(cell) {
var view = this.view;
var date = cell.start;
return '' +
'<th class="fc-day-header ' + view.widgetHeaderClass + ' fc-' + dayIDs[date.day()] + '">' +
htmlEscape(date.format(this.colHeadFormat)) +
'</th>';
},
with
headCellHtml: function(cell) {
var view = this.view;
var date = cell.start;
/* #LS BEGIN */
// get query arguments
var $_GET = {},
args = location.search.substr(1).split(/&/);
for (var ii=0; ii<args.length; ++ii) {
var tmp = args[i].split(/=/);
if (tmp[0] != "") {
$_GET[decodeURIComponent(tmp[0])] = decodeURIComponent(tmp.slice(1).join("").replace("+", " "));
}
}
// If view = sharedMonth don't show the dayIDs[date.day()]
if ($_GET['view']=='sharedMonth') {
return '' +
'<th class="fc-day-header ' + view.widgetHeaderClass + '">' +
htmlEscape(date.format(this.colHeadFormat)) +
'</th>';
}
else {
/* #LS END */
return '' +
'<th class="fc-day-header ' + view.widgetHeaderClass + ' fc-' + dayIDs[date.day()] + '">' +
htmlEscape(date.format(this.colHeadFormat)) +
'</th>';
/* #LS BEGIN */
}
/* #LS END */
},