Hi Kelly,

only the queue name is available in the template (AgentTicketZoom.dtl) of 
ticket zoom per default.

To be able to access also queue attributes in the template file you need to do 
an lookup (via the QueueObject) in Kernel/Modules/AgentTicketZoom.pm and put it 
also into the template (Output() or/and Block() - depends where you want it).

Greetings,

 -Martin

On 25.01.2010, at 00:27, Kelly Barrett wrote:

> Thanks for your response, but I think the problem isn't using $Data or 
> $QData, but that the actual data isn't available in the template.
> 
> From my understanding I need to change the code on the controller to add the 
> data I need into the $Data/$QData variables, and that is what I am having 
> difficulty trying to work out how to do.
> 
> I'm guessing I need to change Kernel/Modules/AgentTicketZoom.pm to be able to 
> make available the current Queue Comment field and Customer email address, 
> but I can't work out how I can access that data.
> 
> Can anyone point me in the right direction?
> 
> Thanks,
> Kelly
> 
> On Fri, Jan 15, 2010 at 1:43 AM, Михаил Лукин <[email protected]> 
> wrote:
> Try $QData instead of $Data
> 
> On Thu, Jan 14, 2010 at 5:29 AM, Kelly Barrett <[email protected]> wrote:
> Hi all,
> 
> I want to be able to display in the AgentTicketZoom page the Comment field of 
> the queue the ticket is in, and also the customer email address.
> 
> I've been trying to figure out how to make that data available in the dtl, 
> but I can't seem to figure out exactly how to get that information and make 
> it available through $Data in the template.
> 
> Can anyone point me in the right direction on how I can do this?
> 
> Thanks,
> Kelly.

---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

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

Reply via email to