You have to change the name of the package inside the Stats file.

Es.
package Kernel::System::Stats::Static::StateAccounttime;

Roberto Lucarelli

________________________________
Da: [email protected] [mailto:[email protected]] Per conto di Alejandra 
Piedra
Inviato: Monday, May 31, 2010 7:32 PM
A: User questions and discussions about OTRS.
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
[email protected]<mailto:[email protected]>



De: [email protected] [mailto:[email protected]] En nombre de Nils 
Leideck - ITSM
Enviado el: Lunes, 31 de Mayo de 2010 11:27 a.m.
Para: User questions and discussions about OTRS.
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

[email protected]<mailto:[email protected]>
[email protected]

http://webint.cryptonode.de / a Fractal project

---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to