Dicking around with AgentTicketZoom.dtl

Hi,
In OTRS 2.4.x, I could do this in AgentTicketZoom.dtl (in my own theme):
<!-- dtl:block:CustomerTable -->
<p>
<hr>
<b>$Text{"Customer Info"}:</b>
$Data{"CustomerTable"}
http://helpdesk.company.com/images/thumbs/$Data{"CustomerUserID"}.jpg">
</p>
<!-- dtl:block:CustomerTable -->
And get a picture of the customer in the ticket zoom view. This doesn't work in OTRS 3, because $Data{"CustomerUserID"} apparantly has no value. What is the right way to do it? Ideally, I think the image should be created by the $Data{"CustomerTable"} call, but my extremely limited knowledge of perl makes this impossible for me.
Lars

did you check the "View Source" of the rendered page to see if that img line
is in your theme?
On Fri, Dec 10, 2010 at 6:08 AM, Lars Jørgensen
Hi,
In OTRS 2.4.x, I could do this in AgentTicketZoom.dtl (in my own theme):
<!-- dtl:block:CustomerTable -->
<p>
<hr>
<b>$Text{"Customer Info"}:</b>
$Data{"CustomerTable"}
http://helpdesk.company.com/images/thumbs/$Data{http://helpdesk.company.com/images/thumbs/$Data%7B "CustomerUserID"}.jpg">
</p>
<!-- dtl:block:CustomerTable -->
And get a picture of the customer in the ticket zoom view. This doesn't work in OTRS 3, because $Data{"CustomerUserID"} apparantly has no value. What is the right way to do it? Ideally, I think the image should be created by the $Data{"CustomerTable"} call, but my extremely limited knowledge of perl makes this impossible for me.
Lars
--------------------------------------------------------------------- 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

Oh yes, it's there, but the CustomerUserID part of the filename is missing. In 2.4.x, it gives me e.g. images/thumbs/itlj.jpg. In 3.0 i get images/thumbs/.jpg
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Gerald Young
Sent: Friday, December 10, 2010 2:30 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Dicking around with AgentTicketZoom.dtl
did you check the "View Source" of the rendered page to see if that img line is in your theme?
On Fri, Dec 10, 2010 at 6:08 AM, Lars Jørgensen http://helpdesk.company.com/images/thumbs/$Data{http://helpdesk.company.com/images/thumbs/$Data%7B"CustomerUserID"}.jpg">
</p>
<!-- dtl:block:CustomerTable -->
And get a picture of the customer in the ticket zoom view. This doesn't work in OTRS 3, because $Data{"CustomerUserID"} apparantly has no value. What is the right way to do it? Ideally, I think the image should be created by the $Data{"CustomerTable"} call, but my extremely limited knowledge of perl makes this impossible for me.
Lars
---------------------------------------------------------------------
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
participants (2)
-
Gerald Young
-
Lars Jørgensen