Page 1 of 1

Print template - HESK 3.11

Posted: Mon Jun 08, 2020 10:56 am
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?

Re: Print template - HESK 3.11

Posted: Mon Jun 08, 2020 11:30 am
by Klemen
In HESK 3 you will need to edit file /theme/hesk3/print-ticket.php

Re: Print template - HESK 3.11

Posted: Mon Jun 08, 2020 11:48 am
by zajcev
Thank you very much! I was searching exactly for that file!