Hi Andrew,

just use "<td width="5%">$QData{"Queue"}</td>" this should work fine! ;)

 -Martin

On Aug 19, 2009, at 14:40 , Glossop, Andrew wrote:

A very useful mod. Thanks for sharing.

I added this:

   <td width="5%">$QData{"QueueID"}</td>

What I really need is the name of the queue, instead of the ID. Can
anyone please suggest how to retrieve the queue name instead?


-----Original Message-----
From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of
John Murray
Sent: 18 August 2009 16:57
To: otrs@otrs.org
Subject: [otrs] Adding CustomerID column to 2.4 dashboard lists

The new dashboard feature of 2.4 is very cool, but we wanted to see
customer information about listed tickets.

Here's how I added a column to do this.

Amended Kernel/Output/HTML/Standard/AgentDashboardTicketGeneric.dtl as
follows:

In dtl:block:ContentLargeTicketGenericRow section, add the following
before the "Time" TD element:

<td width="10%">
 <a
href="$Env{"Baselink"}Action=AgentTicketCustomer&TicketID= $QData{"Ticket
ID"}
"
    onmouseover="window.status='$JSText{"Customer history"}'; return
true;"
onmouseout="window.status='';">
 <div title="$QData{"CustomerUserID"}">$QData{"CustomerID","15"}</div>
 </a>
</td>

A few lines later in the dtl:block:ContentLargeTicketGenericNone block
increase the colspan from 3 to 4.

I hope this is useful to others.

John Murray

George James Software
42-44 High Street
Shepperton
TW17 9AU
United Kingdom
Registered in England number 2568792

+44-1932-252568
www.georgejames.com

---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to