With "out-of-the-box" Service Desk Manager, the Change Calendar starts on Friday and ends on Thursday.
However, you may control the start day of the week in the Change Calendar by customizing the file, "list_chgsched_config.htmpl".
To change the start day of the week for the calendar, please follow these steps:
- Copy the file, list_chgsched_config.htmpl, from under the $NX_ROOT\bopcfg directory to under the $NX_ROOT\site\mods directory.
For example, for analyst, copy $NX_ROOT\bopcfg\www\htmpl\web\analyst\list_chgsched_config.htmpl to the $NX_ROOT\site\mods\www\htmpl\web\analyst directory.
- Open the new "list_chgsched_config.htmpl" file that now exists under the site\mods directory using a text editor.
- Search for:
- Change "firstday=5" to "firstday=0".
- Save and close the file.
- From the command/shell prompt, issue "pdm_webcache -H" and then issue "pdm_webcache -b".
The variable "firstday" represents the day that is displayed in the left-most column of the calendar.
The integer specified as the value of "firstday" is defined as follows:
0 means Sunday
1 means Monday
2 means Tuesday
3 means Wednesday
4 means Thursday
5 means Friday
6 means Saturday
7 means Sunday
When "pdm_webcache -b" is issued, end users are prompted to clear their web browser cache when they next log in to the Service Desk/CMDB web interface. The browser cache must be cleared in order for the calendar to show the new start day of the week.
Before the change (see Figure 1).
After the change (see Figure 2).