I recently upgraded my version of OTRS from 5 to 6 and I want now to add to it a module I wrote for the 5th version. My problem is that the sysconfig panel does not show the settings I added to the GenericInterface.xml file.
In brief, I want to add a new transport module. So following the documentation here : http://doc.otrs.com/doc/manual/develope ... ce-modules I added the following codes to the config file.
Code: Select all
<Setting Name="GenericInterface::Transport::Module###HTTP::REST2" Required="0" Valid="1">
<Description Translatable="1">GenericInterface module registration for the transport layer.</Description>
<Navigation>GenericInterface::Transport::ModuleRegistration</Navigation>
<Value>
<Hash>
<Item Key="Name">REST2</Item>
<Item Key="Protocol">HTTP</Item>
<Item Key="ConfigDialog">AdminGenericInterfaceTransportHTTPREST2</Item>
</Hash>
</Value>
</Setting>
So I came back to my old config file to see if I missed something and I added this code to my config file :
Code: Select all
<Setting Name="Frontend::Module###AdminGenericInterfaceTransportHTTPREST2" Required="0" Valid="1">
<Description Translatable="1">Frontend module registration for the agent interface.</Description>
<Navigation>Frontend::Admin::ModuleRegistration</Navigation>
<Value>
<Item ValueType="FrontendRegistration">
<Hash>
<Item Key="GroupRo">
<Array>
</Array>
</Item>
<Item Key="Group">
<Array>
<Item>admin</Item>
</Array>
</Item>
<Item Key="Description">Admin</Item>
<Item Key="Title" Translatable="1">GenericInterface TransportHTTPREST2 GUI</Item>
<Item Key="NavBarName"></Item>
</Hash>
</Item>
</Value>
</Setting>
<Setting Name="Loader::Module::AdminGenericInterfaceTransportHTTPREST2###002-GenericInterface" Required="0" Valid="1">
<Description Translatable="1">Loader module registration for the agent interface.</Description>
<Navigation>Frontend::Admin::ModuleRegistration::Loader</Navigation>
<Value>
<Hash>
<Item Key="CSS">
<Array>
<Item>Core.Agent.Admin.GenericInterface.css</Item>
</Array>
</Item>
</Hash>
</Value>
</Setting>
So I decided to remove some code from the file to see how otrs would react, guess what ? Nothing happened And out of curiosity I removed the file form the directory ... otrs did not bat an eye to this ... Now I wonder if this config file is really use by otrs ...
I am out of ideas, does anyone know how to do that ?
Many thanks !