
Hello all, I am trying to add up some more specific fields to the Customer User(for eg. Address, Country). Can some body help me out what changes I have to do for the same. I have added the new columns in the customer_user table, but unable to locate the dtl file for the corresponding. Thank you, Amit Jain

Hi, On Mi, Jan 24, 2007 at 09:42:56 -0800, Amit Jain wrote:
I am trying to add up some more specific fields to the Customer User(for eg. Address, Country). Can some body help me out what changes I have to do for the same. I have added the new columns in the customer_user table, but unable to locate the dtl file for the corresponding.
Please see http://doc.otrs.org/2.1/en/html/x1525.html I think that is what you are looking for :).
Amit Jain
Kind regards, Christian -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 56818-0 :: Fax: +49 (0) 9421 56818-18 http://www.otrs.com/ :: Communication with success!

Hi, Tahnks for the link. It was really helpful. But I have one query again. If I wish to add a date fields how to do that? I added in the map table a variable with data time storage-type but don't work. Can u help me this regard? Regards, Amit Jain -----Original Message----- From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Christian Schoepplein Sent: Thursday, January 25, 2007 1:03 PM To: Development community of OTRS.org Subject: Re: [dev] how to add new fields in Customer User Hi, On Mi, Jan 24, 2007 at 09:42:56 -0800, Amit Jain wrote:
I am trying to add up some more specific fields to the Customer User(for eg. Address, Country). Can some body help me out what changes I have to do for the same. I have added the new columns in the customer_user table, but unable to locate the dtl file for the corresponding.
Please see http://doc.otrs.org/2.1/en/html/x1525.html I think that is what you are looking for :).
Amit Jain
Kind regards, Christian -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 56818-0 :: Fax: +49 (0) 9421 56818-18 http://www.otrs.com/ :: Communication with success!

Hi Amit, On Thu, Jan 25, 2007 at 01:56:52AM -0800, Amit Jain wrote:
If I wish to add a date fields how to do that? I added in the map table a variable with data time storage-type but don't work. Can u help me this regard?
Is it really for the customer registration / customer data only or would you like to use the date field in the customer / agent panel? In the second case take a look at the free time fields. If you like to store a date when a customer does registrate an account, I do not know a possibility to predefine a field that contains the whole date. But ofcourse it should be possible to read out the value for the actual date and store the value (timestamp) as a hidden field in the form. After the form is submitted the date value can be also inserted into the database. Another possibility would be to define tree fields (day, month, year) and let the customer select the values. The third possibility is to present a normal text field where the customer can enter the data...
Amit Jain
Kind regards, Christian -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 56818-0 :: Fax: +49 (0) 9421 56818-18 http://www.otrs.com/ :: Communication with success!

Hello Christian, Thanks for the quick response. Basically I want to add customer user only from the system accounts. So I have added additional fields there. So I want to add a date field there (eg. Birth date). To when I map in Defaults.pm what should I specify the variable type [ 'BirthDate', 'Birth Date', 'birthdate', 1, 0, '?', '', 0] Or there is any other solution. Kind Regards, Amit Jain -----Original Message----- From: dev-bounces@otrs.org [mailto:dev-bounces@otrs.org] On Behalf Of Christian Schoepplein Sent: Thursday, January 25, 2007 3:43 PM To: Development community of OTRS.org Subject: Re: [dev] how to add new fields in Customer User Hi Amit, On Thu, Jan 25, 2007 at 01:56:52AM -0800, Amit Jain wrote:
If I wish to add a date fields how to do that? I added in the map table a variable with data time storage-type but don't work. Can u help me this regard?
Is it really for the customer registration / customer data only or would you like to use the date field in the customer / agent panel? In the second case take a look at the free time fields. If you like to store a date when a customer does registrate an account, I do not know a possibility to predefine a field that contains the whole date. But ofcourse it should be possible to read out the value for the actual date and store the value (timestamp) as a hidden field in the form. After the form is submitted the date value can be also inserted into the database. Another possibility would be to define tree fields (day, month, year) and let the customer select the values. The third possibility is to present a normal text field where the customer can enter the data...
Amit Jain
Kind regards, Christian -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 56818-0 :: Fax: +49 (0) 9421 56818-18 http://www.otrs.com/ :: Communication with success!
participants (2)
-
Amit Jain
-
Christian Schoepplein