thanks very much robert, sorry to have bothered you with this. i went to Kernel/Output/HTML/Standard first and didn't think to look in Config/Defaults.pm until after I sent in my question. I found it and was making the change as you were composing your reply to me.
i used 168*60*60 which is working great for one week. speaking of dates, i have stats question which has gone unanswered thus far, so i'll try asking it another way. my question is about the following stats information displayed at http://localhost//otrs/index.pl?Action=SystemStats State Tickets closed unsuccessful 1 open 3 pending auto close+ 3 closed successful 79 all 86 how can i change that ouput to show only the last 24 hours, or only the last 1 week? Thanks, ~Steven On Fri, 26 Mar 2004, Robert Kehl wrote: > On Friday, March 26, 2004 7:49 PM > Steven Shults <[EMAIL PROTECTED]> wrote: > > where is $Env{"PendingDateString"} defined? what file is it in? > > i've grepped all the files in Kernel/Output/HTML/Standard and can't > > find it there. > > # fgrep PendingDateString Kernel/Modules/* > Kernel/Modules/AgentCompose.pm: $Param{PendingDateString} = > $Self->{LayoutObject}->BuildDateSelection( > Kernel/Modules/AgentEmail.pm: $Param{PendingDateString} = > $Self->{LayoutObject}->BuildDateSelection( > Kernel/Modules/AgentPhone.pm: $Param{PendingDateString} = > $Self->{LayoutObject}->BuildDateSelection( > Kernel/Modules/AgentPhone.pm: $Param{PendingDateString} = > $Self->{LayoutObject}->BuildDateSelection( > > Do yourself a favour and don't change these. Instead, read on. > > > i'll like to set the default PendingDateString to a week in the future > > instead of 24 hours in the future. how can i do that? > > Brave boy, you read on ;) As usual, first try to find a solution via > your Kernel/Config.pm. All possible options for Config.pm are listed in > Kernel/Config/Defaults.pm. _Please_ _note:_ There is no need at all to > change anything in Defaults.pm at any time, be it now or in the future. > This is because the settings in Config.pm overwrite those in > Config/Defaults.pm > > The procedure is as easy as 1-2-3: > 1) Search for the option in Defaults.pm > 2) Copy it to Config.pm > 3) Change it there. > > So, the option you're searching for is: > > # PendingDiffTime > # (Time in sec. which "pending date" shows per default) [default: > 24*60*60 -=> 1d] > $Self->{PendingDiffTime} = 24*60*60; > > This is the exact from Defaults.pm. You need: > > $Self->{PendingDiffTime} = 7*24*60*60; > > hth, > > Robert Kehl > > -- > ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg > http://www.otrs.de/ :: Tel. +49 (0)6172 4832388 > > _______________________________________________ > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > Support oder Consulting f�r Ihr OTRS System? > => http://www.otrs.de/ > _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting f�r Ihr OTRS System? => http://www.otrs.de/
