Hello there,
I am working on OTRS v 2.4.7 and would like to be able to edit the customer entry details such that I can create a drop down list, containing sectors to which our customers belong.
My problem is I do not know where i.e. in which module or dtl, I can find the relevant place to add the details for the drop down.
Does anyone know which file(s) I need to edit, and where to find it?
Many thanks,
Paul
Creating a drop down sector list in customer details?
Moderator: crythias
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Creating a drop down sector list in customer details?
Within your CustomerUser section of Config.pm (What? Don't have one? Copy the customerUser section from Defaults.pm to Config.pm and edit Config.pm)
Include
Note that you'll want to alter your customer_user table in MySQL to include this section field.
Include
Code: Select all
[ 'UserComment', 'Comment', 'comments', 1, 0, 'var', '', 0 ],
[ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int', '', 0 ],
['UserSection', 'Section', 'my_field_for_section', 1, 0, 'var', '', 0 ],
],
# default selections
Selections => {
# UserTitle => {
# 'Mr.' => 'Mr.',
# 'Mrs.' => 'Mrs.',
# },
UserSection => {
'A' => 'Section A',
'B' => 'Section B',
}
},
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask