
If it's nothing secret, you could post a .tar.gz with the files... Am 18.01.2017 um 17:19 schrieb Josef Penzkofer:
Hi OTRS-developer,
to post internal messages for our agents, I tried to insert a new module called AgentMessageAdd. This messages should be displayed on dashboard in a new widget.
I achieved this goal on our OTRS 4-Instance.
So I did the following: 1.) Registration of the module File: Message.xml Directory: /Kernel/Config/Files
With this file I get the entry "Messages" into the menuBar and register the module.
This works!
2.) Configuration of the mask, to post a message File: MessageConf.xml Directory: /Kernel/Config/Files
After this, I can configurate the mask via SysConfig.
3.) Functionality File: AgentMessageAdd.pm Directory: /Custom/Kernel/Modules
This is a modified copy of file "AgentTicketPhone.pm".
Changes: package Kernel::Modules::AgentMessageAdd; ... # get output back return $LayoutObject->Output( TemplateFile => 'AgentMessageAdd', Data => \%Param, );
4.) Mask File: AgentMessageAdd.tt Directory: /Custom/Kernel/Output/HTML/Templates/Standard
This is a copy of file "AgentTicketPhone.tt".
Calling the function "Post new message", the mask opens and a new message could created as a ticket.
But when clicking the Button "Create", nothing else happens.
unfortunately, there's no entry in the OTRS-Logfile or the Apache-Logfile.
I think, the new module uses the Core-Module File: Ticket.pm Directory: /Kernel/System so, I don't have to develope a new Core-Module for this module.
Do I have to register this new module anywhere else?
Is there anything missing?
Thanks in advance.
Sepp
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/mailman/listinfo/dev
-- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de