Customize Add Customer User interface

Moderator: crythias

Locked
wdbaruni
Znuny newbie
Posts: 8
Joined: 21 Sep 2010, 09:26
Znuny Version: 2.4

Customize Add Customer User interface

Post by wdbaruni »

Hi all

I am trying to make some customizations to the "Add Customer User" interface:

1 - The company is going to use OTRS mainly for creating phone tickets, so the first thing i would like to do is to make the "Email" filed NOT REQUIRED.

2 - also, i want to simplify this interface by removing many useless fields for the company, such as Salutation, zip, fax ...etc

I am not expert in perl and i was looking through the code for hours without any luck. any help here is really appreciated.

thanks
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Customize Add Customer User interface

Post by crythias »

Use phonenumber@mailinator.com as the email address, and you could probably do all right. OTRS is very email centric, and will break things to not use an email address.
http://www.mailinator.com
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
wdbaruni
Znuny newbie
Posts: 8
Joined: 21 Sep 2010, 09:26
Znuny Version: 2.4

Re: Customize Add Customer User interface

Post by wdbaruni »

Thanks a lot for the quick reply

How can i make that email as the default email for all of my customers? I don't want my staff to type in that email address for every customer they create! is there a way in the back-end to make that email address as the default and remove the email address field when adding new customers?

Also, what about the other fields such as the Salutation and fax? how can i remove those fields?

Thanks in advance
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Customize Add Customer User interface

Post by crythias »

no. the email must be unique per customer.
remove fields: view source on a rendered page, copy the fields you want, replace them on the .dtl file instead of the $Data or $Qdata that would generate the list.

unique email is required.
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
wdbaruni
Znuny newbie
Posts: 8
Joined: 21 Sep 2010, 09:26
Znuny Version: 2.4

Re: Customize Add Customer User interface

Post by wdbaruni »

Thanks for the reply

Why should the email be unique for evey customer?

and if i am going to type in phonenumber@mailinator.com for every customer, wouldn't that make my customers use the same email address?

a clarification here is really appreciated

thanks in advance
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Customize Add Customer User interface

Post by crythias »

I meant to say the phone number of the customer @mailinator.com is the email address.

If you're accepting requests from customers by phone, "What's your phone number?" "It's (xxx)yyy-zzzz" "OK" .... (enter email address: xxxyyyzzzz@mailinator.com)

Edit to add:
This makes an interesting change to the customer login screen (if you allow your customers to do that) ... they could simply enter their unformatted xxxyyyzzzz phone number as the username (assuming that the Config.pm will append the @mailinator.com for them) and see their ticket history, if the password might be the same.

Hmm... There's some interesting byproducts that I have to consider with what I just posted. On the one side, there is a bit of security through obscurity, but on the other, if ticket requests aren't that security sensitive, phone number as username doesn't seem to be horrible.
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
wdbaruni
Znuny newbie
Posts: 8
Joined: 21 Sep 2010, 09:26
Znuny Version: 2.4

Re: Customize Add Customer User interface

Post by wdbaruni »

Thanks again for the reply

first, i would really appreciate it if you could give me an answer for my second problem which is removing some of the not required fields from the customer registration area. such as salutation and so on.

also, since the emails need to be unique and i liked the idea of PHONE_NUMBER@mailinator.com, how can i remove the 'email' field from the customer registration and make the system automatically add the emails to the database using that format.

by the way, i know nothing about perl so please give as simple solution as possible :)

Thanks
Locked