Is there a list of params that are supported by QData()? I'm trying to guess the right parameter for "user who is having the ticket currently"...
Felix -----Ursprüngliche Nachricht----- Von: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] Im Auftrag von ?????? ?????? Gesendet: Mittwoch, 19. August 2009 15:59 An: User questions and discussions about OTRS. Betreff: Re: [otrs] Adding Queue Name to 2.4 dashboard >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? Just type Queue instead QueueID :) Also I add link to this queue: <td width="10%"> <a href="$Env{"Baselink"}Action=AgentTicketQueue&QueueID=$QData{"QueueID"}"onmo useover="window.status='$JSText{"Queue"}'; return true;" onmouseout="window.status='';"> <div title="$QData{"Queue"}">$QData{"Queue","15"}</div> </a> </td> German -----Original Message----- From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of Glossop, Andrew Sent: Wednesday, August 19, 2009 4:40 PM To: User questions and discussions about OTRS. Subject: [otrs] Adding Queue Name to 2.4 dashboard 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/ --------------------------------------------------------------------- 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/ --------------------------------------------------------------------- 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/ --------------------------------------------------------------------- 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/