Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Calendar - Monday as the first day of the week

8 years 6 months ago
Licenses:
JomSocial Active

I have a small question. How do I set calendar to show the first day of the week is Monday.

8 years 6 months ago
Licenses:

Hi,

here the customization that you need to do.
edit /modules/mod_community_eventscalendar/calendar.js at line 84, change the code from

var dWeekDayOfMonthStart = new Date(dYear, dMonth, 1).getDay();
to
var dWeekDayOfMonthStart = new Date(dYear, dMonth, 0).getDay();

and edit /modules/mod_community_eventscalendar/tmpl/default.php line 40 change the code from
weekDays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
to
weekDays: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],

Regards

The following user(s) said Thank You: Ивайло Вълков
8 years 6 months ago
Licenses:

Hi.

In next release this will be possible without file hacking ;)


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Ивайло Вълков
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW