
Hi Matthias, On Wed, Sep 17, 2003 at 11:50:54AM +0200, Matthias Wegner wrote:
I would like to add some new Internal Note Type "Wartung". I added the new type to the "Article_type" table. But, as i understand it, i have to modify the "Default.pm" script. This is what i did:
$Self->{DefaultNoteTypes} = { 'note-internal' => 1, 'note-external' => 2, 'note-report' => 3, 'Wartung' => 4, };
But even after this modification the drop Down Box of the "note" Form only lists "note-internal". What else is necessary ?
Take care that note-type means not ticket state. If you still want to use more note types, follow this steps: - insert new article type to article_type table: mysql> INSERT INTO article_type mysql> (name, valid_id, create_by, create_time, change_by, change_time) mysql> VALUES mysql> ('note-wartung', 1, 1, current_timestamp, 1, current_timestamp); - add the following config options to your Kernel/Config.pm $Self->{DefaultNoteTypes} = { 'note-internal' => 1, 'note-external' => 1, 'note-report' => 1, 'note-wartung' => 1, }; Restart your webserver (if you use mod_perl) and you will have your new note types. PS: Like Robert wrote, don't edit Kernel/Config/Defaults.pm, see also http://doc.otrs.org/1.1/html/configfile.html
Matthias Wegner
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "The number of Unix installations has grown to 10, with more expected." The Unix Programmer's Manual, 2nd Edition, June 1972