
Hi all, We're running into a fairly minor cosmetic issue, and I'm kind of hoping that someone can help me out with it. Some of our customers have their names reversed when they send in email (ie instead of being from "John Doe" it comes in as being from "Doe, Jon"). If they don't exist as customers in the OTRS system (we're not currently using that functionality so pretty much everyone is affected) then when we reply, the default salutation is "Dear Doe Jon," instead of "Dear Jon Doe,". Is there any way to switch it around if the person's name has a comma in it? -- Chris Salter

Hi Chris, On Thu, Dec 18, 2003 at 03:12:48PM -0500, Chris Salter wrote:
We're running into a fairly minor cosmetic issue, and I'm kind of hoping that someone can help me out with it. Some of our customers have their names reversed when they send in email (ie instead of being from "John Doe" it comes in as being from "Doe, Jon"). If they don't exist as customers in the OTRS system (we're not currently using that functionality so pretty much everyone is affected) then when we reply, the default salutation is "Dear Doe Jon," instead of "Dear Jon Doe,".
Is there any way to switch it around if the person's name has a comma in it?
Not per default. But you could patch the Kernel/Modules/AgentCompose.pm for you needs. "prepare salutation" ~ line 230.
-- Chris Salter
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Hi Martin, I'm going to give it a try at some point, but that involves first learning Perl. :-) Thank you though! Does anyone have a quick-and-dirty solution I can adapt? -- Chris Salter <> wrote:
Hi Chris,
On Thu, Dec 18, 2003 at 03:12:48PM -0500, Chris Salter wrote:
We're running into a fairly minor cosmetic issue, and I'm kind of hoping that someone can help me out with it. Some of our customers have their names reversed when they send in email (ie instead of being from "John Doe" it comes in as being from "Doe, Jon"). If they don't exist as customers in the OTRS system (we're not currently using that functionality so pretty much everyone is affected) then when we reply, the default salutation is "Dear Doe Jon," instead of "Dear Jon Doe,".
Is there any way to switch it around if the person's name has a comma in it?
Not per default. But you could patch the Kernel/Modules/AgentCompose.pm for you needs. "prepare salutation" ~ line 230.
-- Chris Salter
Martin Edenhofer

Hi Chris, On Thu, Dec 18, 2003 at 03:34:00PM -0500, Chris Salter wrote:
Hi Martin,
I'm going to give it a try at some point, but that involves first learning Perl. :-) Thank you though!
:)
Does anyone have a quick-and-dirty solution I can adapt?
A working solution isn't so easy, because you also need to check if it's an existing customer... (IMO).
-- Chris Salter
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

I tried to add a module in otrs: AdminCustomerGroup.pm The module is located at : /opt/otrs/Kernel/Modules it is referenced by: AdminNavigationBar.dtl It is also added in /opt/otrs/scripts/apache2-perl-startup.pl However, when I click the button on the navigation bar, I am getting [ http://helpdesk.monterey.k12.ca.us/otrs//otrs/index.pl?OTRS ] Alex Zheng (azheng@monterey.k12.ca.us) Fri Dec 19 08:16:12 2003 Error: Action 'AdminCustomerGroup' not found! Comment: Perhaps the admin forgot to load "Kernel::Modules::AdminCustomerGroup"! what else do I need to do? thanks. alex

Hi Alex, On Fri, Dec 19, 2003 at 08:56:13AM -0800, Alex Zheng wrote:
I tried to add a module in otrs:
AdminCustomerGroup.pm
The module is located at :
/opt/otrs/Kernel/Modules [...] However, when I click the button on the navigation bar, I am getting
[ http://helpdesk.monterey.k12.ca.us/otrs//otrs/index.pl?OTRS ] Alex Zheng (azheng monterey.k12.ca.us) Fri Dec 19 08:16:12 2003
Error: Action 'AdminCustomerGroup' not found! Comment: Perhaps the admin forgot to load "Kernel::Modules::AdminCustomerGroup"!
what else do I need to do?
That's the right way. But Maybe you do have a syntax error on Kernel/Modules/AdminCustomerGroup.pm! .-) Or it's not readable for the webserver user. Try also http://helpdesk.monterey.k12.ca.us/otrs//otrs/index.pl?Action=Test as example. PS: Lets talk on dev about it...
alex
Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (3)
-
Alex Zheng
-
Chris Salter
-
Martin Edenhofer