Hi Simon,

Simon A. F. Lund wrote:
I wrote a small function selecting DISTINCT customer_id. It works just fine. I've written a module called "AgentTicketOverView.pm", now i want to replace QueueView as the default view when an Agent logs into OTRS. How? Can this be done by config or can change something simple in Interface.pm or index.pl? I really appreciate the help so far!

Which version?

OTRS 2.0: You can use the new SysConfig. Admin-Interface -> Ticket -> Frontend::Agent -> Frontend::CommonParam###Action is set to AgentTicketQueue. Change it with your new default module.

OTRS 1.x: You need to edit the file: Kernel/Config/Modules.pm
[...]
# --
# common needed params
# (so you can access this params in Kernel::Modules::* with
# $Self->{Key})
# --
$Kernel::Config::Modules::Param = {
    # param => default value
    Action => 'AgentQueueView',
    QueueID => 0,
    TicketID => '',
};
[...]

Simon

  Martin

--
((otrs)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
        http://www.otrs.de/ :: Manage your communication!

_______________________________________________
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