Well, would you need more? ;-)
The reason is that OTRS has to look for how many calendars there are and then parse them all. If you would look at the Perl code, you'd see it would not be that hard to store even more calendars, but you'd need to change a few things around.
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl
Thanks Michiel, this is awesome.
I chose to add the XML file and sure enough, the additional calendar (10) appears in the SysConfig.
One question though, theoretically, the number of calendars could go up to n with both the approaches, so why is there a limit on 99 (calendars)?
Regards,
Sunjay
or, via email, send a message with subject or body 'help' to
-----Original Message-----
From: itsm-bounces@otrs.org [mailto:itsm-bounces@otrs.org] On Behalf Of itsm-request@otrs.org
Sent: Friday, September 18, 2009 2:44 PM
To: itsm@otrs.org
Subject: itsm Digest, Vol 28, Issue 4
Send itsm mailing list submissions to
itsm@otrs.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.otrs.org/mailman/listinfo/itsm
itsm-request@otrs.org
You can reach the person managing the list at
itsm-owner@otrs.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of itsm digest..."
Today's Topics:
1. Re: Calendars (Michiel Beijen)
----------------------------------------------------------------------
Message: 1
Date: Fri, 18 Sep 2009 11:13:05 +0200
From: Michiel Beijen <michiel@beefreeit.nl>
Subject: Re: [itsm] Calendars
To: "OTRS::ITSM User questions and discussions" <itsm@otrs.org>
Message-ID:
<9eda38a40909180213k515e379bwc7eaf74f1b0bacd@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
-------------- next part --------------
Hi Sunjay,
There are actually two ways to achieve what you want:
You can manage additional calendars from Config.pm by adding the following
lines:
$Self->{'TimeWorkingHours::Calendar10'} = {
'Fri' => [
'9',
'10',
],
'Mon' => [
'9',
'10',
],
'Sat' => [
'9',
'10',
],
'Sun' => [
'9',
'10',
],
'Thu' => [
'9',
'10',
],
'Tue' => [
'9',
'10',
],
'Wed' => [
'9',
'10',
]
};
$Self->{'TimeVacationDays::Calendar10'} = {
'1' => {
'1' => 'New Year\'s Day'
},
'12' => {
'25' => 'First Christmas Day',
'26' => 'Second Christmas Day'
},
'4' => {
'30' => 'Queens Day'
}
};
$Self->{'TimeZone::Calendar10'} = '+6';
$Self->{'TimeZone::Calendar10Name'} = 'My Calendar Name';
Repeat for every additional calendar, but change all references from
Calendar10 to Calendar11.
Another way, even nicer, would be to create a new XML file
'AdditionalCalendars.xml' in otrs/Kernel/Config/Files, see attached sample.
You can now manage the calendars via the sysconfig, just as you would with
the calendar 1 to 9...
with the attached sample you only get one additional calendar, calendar10,
but you get the idea I guess...
Regards,
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl
On Fri, Sep 18, 2009 at 10:40 AM, Kaul, Sunjay <sunjay.kaul@capgemini.com>wrote:
> Hi,
>
> How do I get to configure/use the 99 calendars as mentioned in the ITSM
> Admin Manual. So far, I can see and am able to use the default 9 but don?t
> have any idea of how to bring up the remaining 90.
>
> Any help is appreciated
>
> Regards,
>
> Sunjay
>
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate, distribute, or
> use this message or any part thereof. If you receive this message in error,
> please notify the sender immediately and delete all copies of this message.
>
>
> ---------------------------------------------------------------------
> OTRS mailing list: itsm - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/itsm
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
>
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
>
An HTML attachment was scrubbed...
URL: <http://lists.otrs.org/pipermail/itsm/attachments/20090918/e229c6ff/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AdditionalCalendars.xml
Type: text/xml
Size: 6938 bytes
Desc: not available
URL: <http://lists.otrs.org/pipermail/itsm/attachments/20090918/e229c6ff/attachment.xml>
------------------------------
End of itsm Digest, Vol 28, Issue 4
---------------------------------------------------------------------
OTRS mailing list: itsm - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/itsm
To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/
***********************************
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
OTRS mailing list: itsm - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/itsm
To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/