- Home
- Forum
- Community Forum
- Questions
- Tariffs
- room for single with tarrifs?
availability calendar - first day of week?
- websquirrel
- Topic Author
- Offline
Less
More
10 years 3 months ago #3781
by websquirrel
availability calendar - first day of week? was created by websquirrel
Hi,
where can I change first day of the week in availability calendar ? currently week starts with sunday. we would like to start with monday, what is usually the first day of week around here.
where can I change first day of the week in availability calendar ? currently week starts with sunday. we would like to start with monday, what is usually the first day of week around here.
Please Log in or Create an account to join the conversation.
- vietvh
- Offline
Less
More
- Posts: 1553
10 years 3 months ago #3800
by vietvh
Replied by vietvh on topic availability calendar - first day of week?
Hi,
You can open this file:
/components/com_solidres/controllers/reservationasset.php
Then find the following line (around line 397): $calendar = new SRCalendar;
Replace it by: $calendar = new SRCalendar(array('start_day' => 'monday'));
You can open this file:
/components/com_solidres/controllers/reservationasset.php
Then find the following line (around line 397): $calendar = new SRCalendar;
Replace it by: $calendar = new SRCalendar(array('start_day' => 'monday'));
Please Log in or Create an account to join the conversation.
- a.bashash
- Offline
9 years 1 month ago #5339
by a.bashash
Replied by a.bashash on topic availability calendar - first day of week?
I change this code first day changed just in component not in Search Modules ? How Chang First Day In Modules ?
Please Log in or Create an account to join the conversation.
Moderators: solidres