This is also in as an "Idea", but it may well just be something in the configuration that I haven't found. I apologise for asking the same thing in two different ways. We have a mail interface to OTRS, and need to have the ticket number in the subject line like this when making an external addition to an existing ticket:-
Subject: [Tkt: 123456]
When looking at a zoomed ticket, for example on
https://host/otrs/index.pl?Action=AgentTicketZoom;...
The Ticket::HookDivider is not shown with the ticket title. All I see is
Tkt111117 — Calendars
Can this be configured to include the hook divider anywhere like this?
Tkt: 111117 — Calendars
Chris Ritson.
Ticket::HookDivider
Moderator: crythias
-
- Znuny newbie
- Posts: 2
- Joined: 12 Dec 2011, 12:38
- Znuny Version: 3.0.9
- Real Name: Chris Ritson
- Company: School of Computing, Newcastle University
Re: Ticket::HookDivider
Having had a little more time to poke around, I can answer my own question. This is well catered for by creating a new theme. Only the modified files need to be installed, so the new theme contains just one file which differs from the one in "Standard" as follows. I think this change would be a worthy addition to the Standard theme:-
Chris Ritson.
=============== Snip ===============
*** Standard/AgentTicketZoom.dtl 2011-12-14 12:17:04.000000000 +0000
--- Compsci/AgentTicketZoom.dtl 2011-12-14 12:18:15.000000000 +0000
***************
*** 77,83 ****
<div class="Headline">
<div class="Flag" title="$Text{"$Data{"Priority"}"}"><span class="PriorityID-$QData{"PriorityID"}">$Text{"$Data{"Priority"}"}</span></div>
<h1 title="$Text{"Zoom"} $Config{"Ticket::Hook"}$Data{"TicketNumber"} – $QData{"Title", "70"}">
! $Config{"Ticket::Hook"}$Data{"TicketNumber"} <span>—</span> $QData{"Title", "60"}
</h1>
</div>
--- 77,83 ----
<div class="Headline">
<div class="Flag" title="$Text{"$Data{"Priority"}"}"><span class="PriorityID-$QData{"PriorityID"}">$Text{"$Data{"Priority"}"}</span></div>
<h1 title="$Text{"Zoom"} $Config{"Ticket::Hook"}$Data{"TicketNumber"} – $QData{"Title", "70"}">
! $Config{"Ticket::Hook"}$Config{"Ticket::HookDivider"}$Data{"TicketNumber"} <span>—</span> $QData{"Title", "60"}
</h1>
</div>
=============== Snip ===============
Chris Ritson.
=============== Snip ===============
*** Standard/AgentTicketZoom.dtl 2011-12-14 12:17:04.000000000 +0000
--- Compsci/AgentTicketZoom.dtl 2011-12-14 12:18:15.000000000 +0000
***************
*** 77,83 ****
<div class="Headline">
<div class="Flag" title="$Text{"$Data{"Priority"}"}"><span class="PriorityID-$QData{"PriorityID"}">$Text{"$Data{"Priority"}"}</span></div>
<h1 title="$Text{"Zoom"} $Config{"Ticket::Hook"}$Data{"TicketNumber"} – $QData{"Title", "70"}">
! $Config{"Ticket::Hook"}$Data{"TicketNumber"} <span>—</span> $QData{"Title", "60"}
</h1>
</div>
--- 77,83 ----
<div class="Headline">
<div class="Flag" title="$Text{"$Data{"Priority"}"}"><span class="PriorityID-$QData{"PriorityID"}">$Text{"$Data{"Priority"}"}</span></div>
<h1 title="$Text{"Zoom"} $Config{"Ticket::Hook"}$Data{"TicketNumber"} – $QData{"Title", "70"}">
! $Config{"Ticket::Hook"}$Config{"Ticket::HookDivider"}$Data{"TicketNumber"} <span>—</span> $QData{"Title", "60"}
</h1>
</div>
=============== Snip ===============