Print template - HESK 3.11

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
zajcev
Posts: 3
Joined: Mon Jun 08, 2020 10:32 am

Print template - HESK 3.11

Post by zajcev »

Version of script: 3.11
PHP Version: 7.0.33
MySQL Version: 10.3.23-MariaDB

Hello,
I found HESK because I was searching for some simple ticket system. HESK fits almost perfect for me. I have problem with printing template. I searched on google, and also here on forum. Unfortunately all answers are probably for some old versions of HESK.
For example, I wanted to remove from printed document information about IP address, I found solution here:
to hide the IP address you need to delete this code from the "print.php" file:

Code: Select all

<tr>
		<td>' . $hesklang['ip'] . ':</td>
		<td>' . $ticket['ip'] . '</td>
	</tr>
but my print.php file looks completely different..

So want I want to do is:
I want to remove from printed document: Category, IP.
Also I want to add some custom table on the bottom (which will be filled with pen ;) )
I noticed also that my documents are printed on two pages (second is empty)

Which file I should edit to change all that things?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Print template - HESK 3.11

Post by Klemen »

In HESK 3 you will need to edit file /theme/hesk3/print-ticket.php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
zajcev
Posts: 3
Joined: Mon Jun 08, 2020 10:32 am

Re: Print template - HESK 3.11

Post by zajcev »

Thank you very much! I was searching exactly for that file!
Post Reply