On Mon, 14 Apr 2008 14:29:28 -0500 Nick Bright wrote:

> Still searching for a way to revert to the original HTML output 
> functionality. I'd appreciate even just a tip of what function or file 
> to look at for changing this.

The HTML output functionality is still implemented in AgentTicketPrint.pm.
Oddly enough, there seems to be no configuration parameter for that. If you
want a quick & dirty modification, this is what you might do:

--- AgentTicketPrint.pm.orig    2008-04-15 00:42:42.000000000 +0200
+++ AgentTicketPrint.pm 2008-04-15 00:43:13.000000000 +0200
@@ -153,7 +153,7 @@
         $Ticket{PendingUntil} = '-';
     }
     # generate pdf output
-    if ($Self->{PDFObject}) {
+    if (0) {
         my $PrintedBy =
$Self->{LayoutObject}->{LanguageObject}->Get('printed by');
         my $Time = $Self->{LayoutObject}->Output(Template =>
'$Env{"Time"}');
         my $Url = ' ';

It effectivly disables all PDF generation code and just uses the "old
style" HTML generation code. Be aware that the change might be overwritten
by the next update of OTRS. And a configuration parameter would be a much
nicer idea, of course.

-- 
Denis Jedig
syneticon networks GbR             http://syneticon.net/service/

_______________________________________________
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
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to