Hi Hans, On Thu, Mar 20, 2003 at 12:27:41PM +0100, Hans Scheffers wrote: > Is it possible to change the customer.pl, so a new user (create account) > has to fill in more details as they have to do at the moment? > I would like to let the customer also enter his adress, phone number and > maybe also his bank information, so we have more ways to contact him > then just email. > Also the login is at the moment the same as the email-adress of the > user, can this be changed also?
Yes. You can change this. a) Add your new options to the Kernel/Output/HTML/Standard/CustomerCreateAccount.dtl like: [...] <tr> <td>$Text{"Address"}: </td> <td> <input type="text" name="Address" value="$Data{"UserAddress"}" size="35" maxlength="50"></td> </tr> [...] b) cut & past the "$Self->{CustomerUser}" config option from the Kernel/Config/Defaults.pm to your Kernel/Config.pm and add to the 'Map' e. g. [...] [ 'UserAddress', 'Address', 'address', 1, 1, 'var' ], [...] c) Add the 'address' column to the customer_user table mysql$> ALTER TABLE customer_user ADD address VARCHAR (200); That's all. > Hans Scheffers > JifLin B.V. > Leliestraat 7 > 7151 GH Eibergen Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "There are two major products that come out of Berkeley: LSD and Unix. We don't believe this to be a coincidence." -- Jeremy S. Anderson _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs