[otrs] I can't use my custom stats module

133 views
Skip to first unread message

Iggy Pop

unread,
Jul 25, 2012, 10:33:51 AM7/25/12
to ot...@otrs.org

Hi all,

 

I’ve created a dynamic stats module, following the instructions in the OTRS developer book.

I placed the script in Kernel/System/Stats/Dynamic/

But it doesn’t appear in the ‘Dynamic-Object’ drop down on the page ‘Edit: Stat#’, step 1…

I can’t find any information about this problem.

Any idea?

 

Thanks.

Steve Clark

unread,
Jul 25, 2012, 11:37:19 AM7/25/12
to User questions and discussions about OTRS., Iggy Pop
I ran into this same issue a couple of years ago on 2.4.x. Using the example
in the documentation, same issue never showed up in drop down list. I posted
to list back then and got no response. Maybe you will have better luck.


--
Stephen Clark
NetWolves
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve...@netwolves.com
http://www.netwolves.com

Gerald Young

unread,
Jul 25, 2012, 1:46:05 PM7/25/12
to User questions and discussions about OTRS.
You may need a xml file in Kernel/Config/Files. (yourfilename.xml)
<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
    <ConfigItem Name="Stats::DynamicObjectRegistration###somethingname" Required="0" Valid="1">
        <Description Translatable="1">Some sort of description</Description>
        <Group>Ticket</Group>
        <SubGroup>Core::Stats</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Module">Kernel::System::Stats::Dynamic::yourmodule</Item>
            </Hash>
        </Setting>
    </ConfigItem>
</otrs_config>


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

Steve Clark

unread,
Jul 25, 2012, 2:09:59 PM7/25/12
to User questions and discussions about OTRS.
On 07/25/2012 01:46 PM, Gerald Young wrote:
You may need a xml file in Kernel/Config/Files. (yourfilename.xml)
<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
    <ConfigItem Name="Stats::DynamicObjectRegistration###somethingname" Required="0" Valid="1">
        <Description Translatable="1">Some sort of description</Description>
        <Group>Ticket</Group>
        <SubGroup>Core::Stats</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Module">Kernel::System::Stats::Dynamic::yourmodule</Item>
            </Hash>
        </Setting>
    </ConfigItem>
</otrs_config>


Thanks for the info.
Reply all
Reply to author
Forward
0 new messages