
I am modifying TicketViewLite.dtl to get a more compact queue listing and am running into a "problem". TicketViewLite seems to be called once per ticket.. What I want to do is to display a header such as: Ticket Queue Date Owner Status.. whatever And then have, one per line, the ticket data matching the headers. I've tried to do something like this if (!headers_done) { do_headers (); headers_done = true; } show tickets.. This may not work, I don't know when $Env settings are cleared (if ever), for several reasons, but it seems like the DTL parser is very sensitive to spacing and placement of quotes, brackets, etc. I get part of the DTL showing in the output, and I have *copied* your code verbatim and modified what's being output.. obviously I'm doing something wrong. -joho

Hi Joaquim, I'm not sure where your problem is. :-/ Just modify Kernel/Output/HTML/Standard/TicketViewLite.dtl (remove not wanted stuff) and you can get a "each ticket one line" view. I hope it helps you. -Martin Joaquim Homrighausen wrote:
I am modifying TicketViewLite.dtl to get a more compact queue listing and am running into a "problem".
TicketViewLite seems to be called once per ticket..
What I want to do is to display a header such as:
Ticket Queue Date Owner Status.. whatever
And then have, one per line, the ticket data matching the headers.
I've tried to do something like this
if (!headers_done) { do_headers (); headers_done = true; } show tickets..
This may not work, I don't know when $Env settings are cleared (if ever), for several reasons, but it seems like the DTL parser is very sensitive to spacing and placement of quotes, brackets, etc. I get part of the DTL showing in the output, and I have *copied* your code verbatim and modified what's being output.. obviously I'm doing something wrong.
-joho _______________________________________________ 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
-- Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Quoting Martin Edenhofer
participants (2)
-
Joaquim Homrighausen
-
Martin Edenhofer