| |||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
(#1)
|
| New Member Posts: 20 Join Date: Jun 2008 | How to "grab" ticket ID in reply text, automatically? -
20-04-2009, 03:33 PM
Hi, I'm doing a survey so that whenever a ticket is closed, I have a predefined reply which will have the answer with a link for our survey website. In first hand what I can do is to put this directly by hand. Every ticket I go there and <a href=hxxp://surveyhost.blablabla/survey/index.htm?ticketID=acm-123456>Please fulfill our survey</a> This is possible as I've tested correctly. But how will I be able to have this automatically for every ticket that is closed? Anyone has ever done this? Is it possible? Thanks, Nuno Silva |
| | |
(#2)
|
| Member Posts: 167 Join Date: Dec 2008 Location: Maryland |
20-04-2009, 06:32 PM
I think you can do this in the template. In the alert_ticketstatus, you can probably add this where it says: Code: <{$language[anewstatus]}><{$alertdata[newticketstatus]}>
<{$language[aoldstatus]}><{$alertdata[oldticketstatus]}>
Code: <{if $alertdata[newticketstatus] == "Closed"}>
<{$language[arlink]}> <a href="http://surveyhost.blablabla/survey/index.htm?ticketID=<{$ticket[ticketid]}>">Survey!</a><BR></if>
Kayako Enthusiast since 12/2008 PHP/SQL coder and customizer, and up for ideas. Got a large monitor? Try this mod on for size. Interactive Tooltip/Popup for Client Information. |
| | |
(#3)
|
| New Member Posts: 20 Join Date: Jun 2008 |
21-04-2009, 04:55 PM
Hi, Thank you for your great help. Anyway, we've gone a bit further and got this: <fieldset style="margin-bottom: 6px; color: #333333;FONT: 11px Verdana, Tahoma;PADDING:3px;"> <legend><{$language[ticketdetails]}></legend><BR> <{$language[articketid]}><{$ticket[fticketid]}><BR> <{$language[ardepartment]}><{$ticket[department]}><BR> <{$language[arpriority]}><font color="<{$priority[frcolorcode]}>"><{$ticket[priority]}></font><BR> <{$language[arstatus]}><font color="<{$status[statuscolor]}>"><{$ticket[status]}></font><BR> <{if strncmp($ticket[status],"Closed",6) == 0 || $ticket[status] == "Pending to Close"}> <a href="https://surveyhost/Survey/Inquiry.ht...Survey!</a><BR> <{/if}> </fieldset> I decided to put this info here just in case any of you guys need to develop this thing too. Thanks a lot! |
| | |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reply mail - the link to the ticket is missing | michael25 | SupportSuite, eSupport and LiveResponse | 2 | 20-01-2009 05:43 PM |
| 3.30.02 STABLE Released | Ryan Lederman | News and Announcements | 0 | 13-08-2008 09:47 PM |
| Mail parser -> Staff reply -> Automatically assign ticket to replying staff user | arogers@schoolp | Mail parser | 2 | 08-08-2007 12:10 PM |