Greetings list,

I wonder where I can find a comprehensive documentation on how to write and
install modules in OTRS2.

I made some efforts mimicing some of the simpler internal modules but
already ran into trouble by just renaming an existent module (namely
AgentTicketCustomer) and trying to incorporate it into the MenuModule - it
shows up in the ticket menu but calling the appropriate URL[1] throws me a
"Can't locate Kernel/Modules/myModule.pm in @INC (@INC contains:
../../[..]"

So I wondered about a bunch of questions:

- if INC contains relative paths, which directory are they relative to? The
one containing index.pl?

- where/how is INC assembled?

- why does it work for all kind of in-the-box modules but does not work for
"mine"?

- why can't I find any documentation on how to write new modules for OTRS2?

Thanks for helping out.

[1] http://otrs/index.pl?Action=myModule&TicketID=10
-- 
Denis Jedig
syneticon networks GbR             http://syneticon.net/service/

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to