Sweet.  Thanks for sharing John.
I think that's really useful and was something I missed from the OOTB solution.


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of John 
Murray
Sent: 18. august 2009 17:57
To: [email protected]
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{"TicketID"}
"
     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/


CONFIDENTIALITY: This  e-mail  and  any attachments are confidential and may be 
privileged. If  you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.

CONFIDENTIALITY: This  e-mail  and  any attachments are confidential and may be 
privileged. If  you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.
---------------------------------------------------------------------
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