We are trying to make some external templates available from inside OTRS.
(otrs v 2.3.4, linux sles10 sp2, mysql)

Following the developer manual I have created the following files and have
placed them in the appropriate folders:

HelloWorld.xml
HelloWorld.pm
AgentHelloWorld.pm
AgentHelloWord.dtl

I've gone into SysConfig and now find a HelloWorld group in my SysConfig
options (along with Tickets, Framework, etc)   Under that group there is
one item listed,  AgentFrontEndRegistration.   Inside that item the action
performed is Action=AgentHelloWorld.   This works as expected, and invokes
a screen where we can select the html links to the outside templates.  The
links open, we can access the templates, and when we close the template the
screen returns to otrs.  That all works very well.

I've also gone into SysConfig and added a second readonly group in
CustomerFrontEnd::Module###CustomerTicketMessage that calls
Action=AgentHelloWorld.   This creates an icon in the customer interface as
expected, but when I click on the icon I get the following error screen:

Error: Module Kernel::Modules::AgentHelloWorld not registered in
Kernel/Config.pm!


                                                                           
 Comment: Please contact your admin                                        
                                                                           
 Bug                                                                       
 Report:                                                                   
                                                                           
 Tracebac ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Dec  2        
 k:       09:08:42 2009                                                    
                                                                           
          Message: Module Kernel::Modules::AgentHelloWorld not registered  
          in Kernel/Config.pm!                                             
                                                                           
          Traceback (32187):    Module:                                    
          Kernel::System::Web::InterfaceCustomer::Run (v1.35) Line: 788    
          Module:                                                          
          ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_custome 
          r_2epl::handler (unknown version) Line: 47   Module: (eval)      
          (v1.41) Line: 203   Module: ModPerl::RegistryCooker::run (v1.41) 
          Line: 203   Module: ModPerl::RegistryCooker::default_handler     
          (v1.41) Line: 169   Module: ModPerl::Registry::handler (v1.99)   
          Line: 30                                                         
                                                                           




I've gone through the developers manual and looked at all the possible
settings in the Default.pm file and I don't find any instructions on how to
'register' this module.   I apologize in advance, but if anyone has a
solution that involves adding code to Config.pm, I'm going to need very
detailed instructions.   I don't have any training in perl and I'm trying
to figure this out by following examples and using trial and error.

Thanks very much for any help,

Patrick Dillon
Manager, IT Shared Services
Aleris International Inc.

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