thats cool mate!

i looks very great know. next step for me is to try hidden the buttons "internal note, assign to staff and alle the others and hidden the first info-box on the left with the ticket-information, status and and and... to have more space for the right box with the customer-info

helo, how can i add a css script for date of print. Thanks

Very nice. Worked perfectly!

have any one found a solution to disable the buttons at the end of the printout (like assign to staff, post internal notes and other) and disable the first infobox at the left with status prio and other?

have any one found a solution to disable the buttons at the end of the printout (like assign to staff, post internal notes and other) and disable the first infobox at the left with status prio and other?

I can not confirm, that the buttons are visible, when i do it here, they are hidden by the print.css. Must be something within your modified version.

Disabling the first infobox will be more tricky. You must first modify the print.css to hide everything with class "ticketinfo", which also will hide the right box and the table below the Subject (with Assigned staff, Help Topic etc.).

Then you have to modify the viewticket.inc.php, so that the information you'll need will be displayed in a new table width whole page width and a new class e.g. "nonvisibleticketinfo". You'll have to disable that class in the normal main.css (like the printfooter in my example above) and then make it visible in the print.css.

Mainly the same as with the printfooter, you only have to create a hidden section in your viewticket.inc.php which you make visible in print.css.

Hope that will help you. I'm a little busy at work right now, so i will not be able to give you a ready-to-go Mod which would be more time-intensive than this.

5 days later

thank you, works like a charm.

Thanks

Thanks

It has been very useful

thats cool mate!

i looks very great know. next step for me is to try hidden the buttons "internal note, assign to staff and alle the others and hidden the first info-box on the left with the ticket-information, status and and and... to have more space for the right box with the customer-info

First of all, thanks for this awesome MOD, works like a charm!

There is only one small thing and I got exactly the same problem as berlinger, The "Post Reply" / "Post Internal Note" / "Dept. Transfer" / "Re Assign Ticket" buttons are visible on the printed page.

I added #footer to the print.css "elements to hide".

I tried adding custom footer which works great as described in this topic, however I still see the buttons.

Thanks in advance!

5 days later

is there anyway I can customize the header and footer?

Hi,

Great Mod by the way!

Was wondering if it was possible to customize the header and footer of this printable version? And to add say something like a Date, Signiture, Name field for when onsite getting them to sign of on it? and possible to save to a pdf and at the same time having the printable version?

:)

Cheers,

Jason.

15 days later

Great

Very useful mod,

I still have one more question. How can I change the font size in the output?

6 days later
7 days later

Very useful mod,

I still have one more question. How can I change the font size in the output?

*push* :

Hi,

Thanks for sharing this tip. :)

Regards

25 days later

Great addon!

Many thanks for your code and documentation:)

10 days later

one more help

Excellent!

But how can I insert the print button in that area where the client visualize the ticket? (Page that opens after the user enters their email address and ticket number)

I would like the user who opened the ticket could print too!

Thanks!

:

In portuguese:

Excelente!

Mas, como eu posso inserir o botão de print naquela área onde o cliente visualisa o ingresso? (Página que abre após o usuário digitar o email e número do ticket)

Gostaria que o usuário que abriu o ticket pudesse imprimir também!

Obrigado!

8 days later

Couldn't get it to work

Hi guys,

I've tried this MOD 4 times without any luck. I'm using osTicket 1.6 RC5.

I'm feeling pretty stupid at this instance.

-Source of one of my open tickets: www.mydomain.com/support/scp/tickets.php?id=183(www.mydomain.com/support/scp/tickets.php?id=183)

as you can see print.css line doesn't show up.

any tips? Thanks in advance

2 months later

Many thanks, saved me a ton of work! We just needed something quick and simple to get things going - we're still trying to define our exact needs.

Thanks, again,

James

a month later

To remove the bottom buttons from the print form and to add ability to Print for clients:

1. In \include\staff\viewticket.inc.php

replace

with

2. Add in \styles\print.css:

a.printTicket { display: none; }

3. Add in \scp\css\print.css:

table.tabber_line { display: none; }

4. Find at \styles\main.css lines:

#nav a.ticket_status { background(../images/ticket_status.gif) 0 5px no-repeat; }

#nav a.log_out { background(../images/logout.gif) 0 5px no-repeat; }

and add there:

a.printTicket { background(../images/icons/print_ticket.gif) 0 0 no-repeat; padding-left;}

5. Copy \scp\images\icons\print_ticket.gif to \images\icons\print_ticket.gif

6. Change in \include\client\viewticket.inc.php:

to:

and add after:

 

this line:

Print