I know this has probably been asked many times... and I have searched for the answer but maybe a little new to OTRS to understand how to modify things for what I want.
I need to add three fields to the customer information and remove one field without breaking things.
I would like to remove FAX and add in three new fields being MAC Address, IP address, SSID
I know I need to add three new items in Table customer_user in database otrs2, thats not the problem, where I am falling down is what do I need to add to config.pm????
Thanks for the help
Running OTRS 2.4.9
DB is MYSQL
OS is Debian Squeeze
Config.pm
Moderator: crythias
-
- Znuny newbie
- Posts: 3
- Joined: 08 Feb 2012, 04:43
- Znuny Version: 2.4.9
- Real Name: Kevin McLaughlin
- Company: Bonnechere Community Internet
- Location: Douglas, Ontario
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Config.pm
start here: http://doc.otrs.org/3.0/en/html/externa ... tomer-data
go on with this: http://doc.otrs.org/3.0/en/html/custome ... ckend.html
and specially have a look at
go on with this: http://doc.otrs.org/3.0/en/html/custome ... ckend.html
and specially have a look at
Code: Select all
Map => [
# note: Login, Email and CustomerID needed!
# var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly, http-link-target
[ 'UserTitle', 'Title', 'title', 1, 0, 'var', '', 0 ],
[ 'UserFirstname', 'Firstname', 'first_name', 1, 1, 'var', '', 0 ],
[ 'UserLastname', 'Lastname', 'last_name', 1, 1, 'var', '', 0 ],
[ 'UserLogin', 'Username', 'login', 1, 1, 'var', '', 0 ],
[ 'UserPassword', 'Password', 'pw', 0, 0, 'var', '', 0 ],
[ 'UserEmail', 'Email', 'email', 1, 1, 'var', '', 0 ],
[ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var', '', 0 ],
[ 'UserPhone', 'Phone', 'phone', 1, 0, 'var', '', 0 ],
[ 'UserFax', 'Fax', 'fax', 1, 0, 'var', '', 0 ],
[ 'UserMobile', 'Mobile', 'mobile', 1, 0, 'var', '', 0 ],
[ 'UserRoom', 'Room', 'room', 1, 0, 'var', '', 0 ],
[ 'UserStreet', 'Street', 'street', 1, 0, 'var', '', 0 ],
[ 'UserZip', 'Zip', 'zip', 1, 0, 'var', '', 0 ],
[ 'UserCity', 'City', 'city', 1, 0, 'var', '', 0 ],
[ 'UserCountry', 'Country', 'country', 1, 0, 'var', '', 0 ],
[ 'UserComment', 'Comment', 'comments', 1, 0, 'var', '', 0 ],
[ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int', '', 0 ],
],
# default selections
Selections => {
UserTitle => {
'Mr.' => 'Mr.',
'Mrs.' => 'Mrs.',
},
},
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
-
- Znuny newbie
- Posts: 3
- Joined: 08 Feb 2012, 04:43
- Znuny Version: 2.4.9
- Real Name: Kevin McLaughlin
- Company: Bonnechere Community Internet
- Location: Douglas, Ontario
Re: Config.pm
I tried adding this and get errors
Error: Access denied for user 'otrs'@'localhost' (using password: NO)
Comment: Please contact your admin
Bug Report:
Traceback: ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Feb 15 13:13:09 2012 Message: Access denied for user 'otrs'@'localhost' (using password: NO) Traceback (26029): Module: Kernel::System::DB::new (v1.105.2.3) Line: 188 Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 143 Module: ModPerl::ROOT::ModPerl::Registry::usr_share_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 48 Module: (eval) (v1.88) Line: 204 Module: ModPerl::RegistryCooker::run (v1.88) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
Error: Access denied for user 'otrs'@'localhost' (using password: NO)
Comment: Please contact your admin
Bug Report:
Traceback: ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Feb 15 13:13:09 2012 Message: Access denied for user 'otrs'@'localhost' (using password: NO) Traceback (26029): Module: Kernel::System::DB::new (v1.105.2.3) Line: 188 Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 143 Module: ModPerl::ROOT::ModPerl::Registry::usr_share_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 48 Module: (eval) (v1.88) Line: 204 Module: ModPerl::RegistryCooker::run (v1.88) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
0TRS2 2.4.9, running on Debian Squeeze, MySQL version 5.1.49
-
- Znuny newbie
- Posts: 3
- Joined: 08 Feb 2012, 04:43
- Znuny Version: 2.4.9
- Real Name: Kevin McLaughlin
- Company: Bonnechere Community Internet
- Location: Douglas, Ontario
Re: Config.pm
actually may have been editing wrong config.pm
it is the one in
usr/share/otrs/Kernel/system
that I need to edit is that correct?
it is the one in
usr/share/otrs/Kernel/system
that I need to edit is that correct?
0TRS2 2.4.9, running on Debian Squeeze, MySQL version 5.1.49
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Config.pm
the one to change is /opt/otrs/Kernel/Config.pm - nothing else!
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting