Hello,
Customizing email templates there is a variable that can be used, such as %%TRACK_ID%%. Also, in the Canned Responses, there are other variables that can be used and they work great.
However, I'm trying to use the %%TRACK_ID%% inside of my canned responses, is this already built in and I just can't find the variables?
Canned Response Variables
Moderator: mkoch227
Re: Canned Response Variables
There is no tracking ID variable for canned responses.
You would have to modify admin_ticket.php file to support them, for example find and add something like
You would have to modify admin_ticket.php file to support them, for example find
Code: Select all
myMsg = myMsg.replace(/%%HESK_NAME%%/g, '<?php echo hesk_jsString($ticket['name']); ?>');
Code: Select all
myMsg = myMsg.replace(/%%TRACK_ID%%/g, '<?php echo hesk_jsString($ticket['trackid']); ?>');
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: Canned Response Variables
Worked like a charm. Do you have documentation of all other declared variables?
Re: Canned Response Variables
I'm afraid not, but if you look at the database structure it should be basically everything that's in the database.
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