2019-01-31, 11:47:17
(2019-01-31, 08:50:29)datiswous Wrote:(2019-01-31, 01:55:08)keframil Wrote: Thank you for the reply, but I figured it out.
Took me a couple of days going trough every file in the code but managed to find what to edit.
Check it Out here: http://cfas.org/calendar/
Regards
Could you please supply your solution here in this topic? I am sure it is helpful for others.
I meant to do that. Here you go:
Go to: plugins\calendar\inc
Open calendar.php
First 3 lines of code:
function c_firstDay($month, $year) {
$day = date('N', mktime(0,0,0,$month,2,$year));
return $day;
make sure to change to a number 2 just before ,$year)); on the second line and save it.
Then Open: client_calendar.php
scroll down to the table for the days of the week and move this line to the beginning of the table(just before Monday)
<th class="sunday"><?php i18n('calendar/Sunday'); ?></th>
And that's it.
Enjoy