[otrs] Salutation, template and signature texts not showing after upgrade to OTRS 4.01

373 views
Skip to first unread message

Paolo Mosconi

unread,
Dec 4, 2014, 12:00:17 PM12/4/14
to ot...@otrs.org

Hi,

I upgraded from OTRS 3.3 to 4.01.02 moving the system from Windows to Linux.

Everything is ok, except that when replying to a ticket the system is not showing salutation, response template and signature TEXT but the following code:

 

$QData{"Salutation"}
$QData{"StdResponse"}
$QData{"Signature"}

$TimeShort{"$QData{"Created"}"} - $QData{"OrigFromName"} $Text{"wrote"}:
$QData{"Body"}

 

Any idea about what went wrong and how to fix it?

Thanks

paolo mosconi

 

Renee B

unread,
Dec 4, 2014, 12:06:39 PM12/4/14
to ot...@otrs.org
With the switch from homebrew template system to Template::Toolkit the syntax changed.

Your code should look like

[% Data.Salutation | html %]
[% Data.StdResponse | html %]
[% Data.Signature | html %]

[% Translate(Localize(Data.Created, "TimeShort")) | html %] - [% Data.OrigFromName | html %] [% Translate("wrote") | html %]:
[% Data.Body | html %]

(untested)

- Renée
---------------------------------------------------------------------
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


-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

Paolo Mosconi

unread,
Dec 4, 2014, 12:45:01 PM12/4/14
to ot...@otrs.org

Great, it works now.

Many thanks for the very quick reply.

 

Paolo Mosconi

 

Paolo Mosconi

unread,
Jun 12, 2015, 3:22:36 AM6/12/15
to usgt.s...@seidor.com, otrs_a...@googlegroups.com, ot...@otrs.org
Hi,
in version 4 the editor response format macros have changed: you need to modify Ticket::Frontend::ResponseFormat

The default in a new installation is:
$Self->{'Ticket::Frontend::ResponseFormat'} = '[% Data.Salutation |
html %]
[% Data.StdResponse | html %]
[% Data.Signature | html %]
[% Data.Created | Localize("TimeShort") %] - [% Data.OrigFromName |
html %] [% Translate("wrote") | html %]:
[% Data.Body | html %]
';

Paolo Mosconi



-----Original Message-----
From: usgt.s...@seidor.com [mailto:usgt.s...@seidor.com]
Sent: venerdì 12 giugno 2015 01:04
To: otrs_a...@googlegroups.com
Cc: Paolo Mosconi; ot...@otrs.org
Subject: Re: [otrs] Salutation, template and signature texts not showing after upgrade to OTRS 4.01
Sorry for my ignorance. Can you please tell me what file exactly do I need to change?, I can't find it.
Reply all
Reply to author
Forward
0 new messages