Help me adding time range in calendar

English! place to talk about development, programming and coding
Post Reply
adminrd
Znuny newbie
Posts: 39
Joined: 29 Aug 2013, 15:14
Znuny Version: 5.0.9

Help me adding time range in calendar

Post by adminrd »

Hi,

I modified all needed code to add 8.5 hour in the ranges of TimeWorkingHours::Calendar1.
Framework.xml
AdminSysConfig.pm
But not able to check the 8.5 checkbox in the sysconfig page, it check automatically the 8 checkbox when submit.
Maybe a problem in Layout.pm but not sure.
Maybe someone in the community tried the same custom development as mine and succeeded.

It's my desperate last chance to find the solution.

Thanks,
Audrey
adminrd
Znuny newbie
Posts: 39
Joined: 29 Aug 2013, 15:14
Znuny Version: 5.0.9

[SOLVED]Re: Help me adding time range in calendar

Post by adminrd »

Hi,

I found the solution, I have to change in Kernel/Modules/AdminSysConfig.pm.
I have to use a hash instead of an array @ArrayHour (line 1754) to store the 8.5 key that is a string.

Regards,
Post Reply