On Fri, Oct 24, 2003 at 05:58:39PM +0200, Christian Junk wrote:
I like to add some information to the TicketView.DTL, but I don't know where to define them.
Could you please tell me, where (for example) the
$DATA{"CustomerID"}
is set (it is used in the TicketView.DTL). It would help me to get a better understanding of the whole otrs system and of perl.
$Data{"CustomerID"} is the customer id stored in the ticket table and is a ticket attribute like $Data{"State"} or $Data{"Queue"} and comes in OTRS 1.1.x from Kernel/Modules/AgentQueueView.pm line ~266.
Hi!
Hm, I found these lines in Kernel\Output\HTML\Standard\TicketView.dtl (line ~97):
<tr>
<td><b>$Text{"CustomerID"}:</b></td>
<td><a href="$Config{"CustomerDBLink"}" $Config{"CustomerDBLinkTarget"}>$Quote{"$Data{"CustomerID"}","18"}</a></td>
</tr>
This is the place where CustomerID is used. But when I want to look it up in
> Kernel/Modules/AgentQueueView.pm line ~266.
I can't find it ;(
> I'm not sure what you want to do? Tell me what you want to show in the > TicketView.dtl!
Our CustomerID is a number. Each number is associated with a company name, which comes from another table in our database. I like to show up the company name.
Regards Christian
_______________________________________________ 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
