You have to change the
name of the package inside the Stats file.
Es.
package
Kernel::System::Stats::Static::StateAccounttime;
Roberto Lucarelli
Da:
otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] Per conto di Alejandra Piedra
Inviato: Monday, May 31, 2010 7:32
PM
A:
Oggetto: Re: [otrs] Stats by
ticket state
Hi Nils!
I actually just made
a copy of the StateAction.pm file, just to see if a dropdown list would appear
in the Static-File option once I selected the radio button.
And now is worst
because the Static-File option is no longer available, it just disappeared.
Any clue why that
could’ve happened.
Thanks and regards
María Alejandra Piedra
Unidad de Informática y Sistemas de Información
IICA (506) 2216-0171
De:
otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] En nombre de Nils Leideck - ITSM
Enviado el: Lunes, 31 de Mayo de
2010 11:27 a.m.
Para:
Asunto: Re: [otrs] Stats by ticket
state
Hi,
On 31.05.2010, at 19:02, Alejandra Piedra wrote:
I found out that I
can make my own stat with the Static-File feature.
My only question is
how do I configure it, so that once I put the file in the
//Kernel/System/Stats/Static directory, first it shows in the stats module,
and secondly it doesn’t give me the following error:
Can't locate object method
"new" via package
"Kernel::System::Stats::Static::StateAccounttime" (perhaps you forgot
to load "Kernel::System::Stats::Static::StateAccounttime"?) at
../..//Kernel/System/Stats.pm
Can you post your Stats file first?
Freundliche Grüße /
Kind regards
Nils Leideck
--
Nils Leideck
Senior Consultant
nils.leideck@leidex.net
nils.leideck@otrs.com
http://webint.cryptonode.de / a Fractal
project