Show ticket owner to customer on page options
Moderator: mkoch227
Show ticket owner to customer on page options
I want customers who are seeing their ticket in the webpage to also see which staff member owns that ticket. I am sure I could modify the PHP to do this, but before I do, is there already a way to enable that? I haven't been able to find it.
Re: Show ticket owner to customer on page options
No, this is not something that can be enabled in HESK.
However, there is a function called hesk_getOwnerName() that will make this easy for you. Simply use this PHP code to print the owner name within the "ticket.php" file:
An example within a <?php code block:
And example within HTML code:
However, there is a function called hesk_getOwnerName() that will make this easy for you. Simply use this PHP code to print the owner name within the "ticket.php" file:
Code: Select all
hesk_getOwnerName($ticket['owner'])
Code: Select all
echo hesk_getOwnerName($ticket['owner']);
Code: Select all
<?php echo hesk_getOwnerName($ticket['owner']); ?>
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Show ticket owner to customer on page options
Perfect. That did exactly what I needed.