Show ticket owner to customer on page options

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
ancientt
Posts: 3
Joined: Mon Feb 14, 2011 5:41 pm

Show ticket owner to customer on page options

Post by ancientt »

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.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Show ticket owner to customer on page options

Post by Klemen »

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:

Code: Select all

hesk_getOwnerName($ticket['owner'])
An example within a <?php code block:

Code: Select all

echo hesk_getOwnerName($ticket['owner']);
And example within HTML code:

Code: Select all

<?php echo hesk_getOwnerName($ticket['owner']); ?>
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
ancientt
Posts: 3
Joined: Mon Feb 14, 2011 5:41 pm

Re: Show ticket owner to customer on page options

Post by ancientt »

Perfect. That did exactly what I needed.
Post Reply