Hi Jeff,

just try something like:

[...]
<dtl if ($Data{"QueueID"} eq "4") { $Data{"Adminpage"} = "accountinfo.mhtml"; }>

$Data{"Adminpage"}
[...]

or also use it as link

[...]
<a href="$Data{"Adminpage"}">AdminPage</a>
[...]

This will work. :)

Greetings,
 -Martin

On Apr 16, 2008, at 22:02 , Jeff Adams wrote:
I'm trying to make a link in AgentTicketZoom.dtl to a page with customer info. The target page will depend on what queue you're in.

Following the examples in the developer docs, I did a simple dtl "if" statement, something like this --

<dtl if ( $Data{"QueueID"} eq "5" ) { $Data{"Adminpage"} = "accountinfo.mhtml"; }>

I can print the QueueID just fine. No matter what I do, I cannot set "Adminpage", even with a simple "set" --

<dtl set $Data{"Adminpage"} = "accountinfo.mhtml";}>

But nada. This is otrs version 2.2.4-01. I hoped to do this as cleanly as possible. What am I doing wrong? Thanks.
_______________________________________________
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

_______________________________________________
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

Reply via email to