Ticket Information view avoid [...]

Moderator: crythias

Locked
Jill Meyer
Znuny newbie
Posts: 97
Joined: 04 Aug 2006, 13:48

Ticket Information view avoid [...]

Post by Jill Meyer »

Hello all
I would like to extend the text length shown for certain freetext fields inside the Ticket Information view (right bar).
I have a freetext field which is filled with 30 characters. Only the first 26 characters are shown Ticket, rest is replaced by [...]. The tooltip shows the full text - unfortunately you cannot copy the full text into the clipboard.

How can I increase the number of characters getting displayed? How can I avoid the [...] ?

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

Re: Ticket Information view avoid [...]

Post by crythias »

edit the .dtl for the field and change the value.
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
bin
Znuny newbie
Posts: 29
Joined: 06 Jan 2011, 10:29
Znuny Version: 3

Re: Ticket Information view avoid [...]

Post by bin »

Jill Meyer wrote:Hello all
I would like to extend the text length shown for certain freetext fields inside the Ticket Information view (right bar).
I have a freetext field which is filled with 30 characters. Only the first 26 characters are shown Ticket, rest is replaced by [...]. The tooltip shows the full text - unfortunately you cannot copy the full text into the clipboard.

How can I increase the number of characters getting displayed? How can I avoid the [...] ?

Many thanks,
Jill
Hi Jill

You can edit this file
/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketOverviewSmall.dtl
Search for 'RecordLastCustomerSubject'

You'll see
<div title="$QData{"Subject"}">$QData{"Subject","30"}</div>

I've changed value from 30 to 60 which doesn't get rid of the [...] but does show more of the subject.

You need to be wary of making this too large as it can cause pain on lower resolutions screens - just try making the browser window smaller to see what happens :-)

Hope this helps a bit
Locked