developer directory path

Moderator: crythias

Locked
Niroc
Znuny newbie
Posts: 18
Joined: 18 Jun 2015, 10:57
Znuny Version: 5.0.12

developer directory path

Post by Niroc »

Hi,

I'm trying to get familiar with writing new modules for otrs, so I'm trying to understand the documentation and I'm doing the helloworld example. In the documenatation it says:
First of all we must build the directory /Hello World for the module in the developer directory. In this directory, all directories existent in OTRS can be created
But where is the developer directory. My otrs runs on a ubuntu system and it's installed under /opt/otrs and there is no developer directory or folder. Do I have to create it myself there or what?

pls help me out :)
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: developer directory path

Post by RStraub »

Use the directory:
/opt/otrs/Custom/

below that, you should use the same folder-structure that exists in /opt/otrs/...

Most of the files there overwrite the default files. Exceptions are the .xml files in /opt/otrs/Kernel/Config/Files/ (and of course the /opt/otrs/Kernel/Config.pm).
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Niroc
Znuny newbie
Posts: 18
Joined: 18 Jun 2015, 10:57
Znuny Version: 5.0.12

Re: developer directory path

Post by Niroc »

ok thx for your fast reply.

new different question:

I build now successfully my opm file and installed it via the admin panel.
But when I'm trying to access to AgentHelloWorld (via URL) I'm getting an error which says:
Module Kernel::Modules::AgentHelloWorld not registered in Kernel/Config.pm!
What do I have to do? There is no word about registering something in the Config.pm in the helloworld tutorial
Locked