• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: How to modify the calendar to start with Monday

How to modify the calendar to start with Monday 15 years 6 months ago #8520

Hi,

I tried to do what was told in FAQ-page. What was told did not work:
This can be done by editing the cal.js file located in the /components/com_rsform/calendar/ folder. Just replace the line:

Cal.cfg.setProperty("WEEKDAYS_LONG", WEEKDAYS_LONG);
Cal.cfg.setProperty("START_WEEKDAY", 0);

with:

Cal.cfg.setProperty("WEEKDAYS_LONG", WEEKDAYS_LONG);
Cal.cfg.setProperty("START_WEEKDAY", 1);

THIS WORKED:

1. Open file default.php in components/com_rsform/languages/
2. Scroll all the way down to

var START_WEEKDAY = 0;

replace the line with:

var START_WEEKDAY = 1;

You can even change the language for months and dayes here. Hope this helps somebody.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!