Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
matzah Offline
New Member
 
Posts: 12
Join Date: Feb 2007
Dashboard » Templates » email_autoresponder problems - 08-02-2007, 05:53 AM

Hi All

I want to remove the news section and the company name sections from this template.

On the news, I remove (in both sections) the "if" statement inclusive to the /if

On the company name, I remove (in both)
<{$settings[general_companyname]}>

When I remove either or both, the auto responded does not send at all.
When I restore to default, it works fine again.

After each change I clear the cache, and still the same results.

Thanks for any help or suggestions you can provide.
   
Reply With Quote
  (#2) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,852
Join Date: Aug 2006
Location: Mumbai, India
08-02-2007, 08:16 AM

The only possible reason is that you would have missed out somewhere with the if statement due to which the template would be broken and hence not working.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#3) Old
matzah Offline
New Member
 
Posts: 12
Join Date: Feb 2007
09-02-2007, 02:33 AM

Is it considered rude to post code in here, for something like a default template like this?

Being new, I thought it best to ask 1st.

Thanks
   
Reply With Quote
  (#4) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,852
Join Date: Aug 2006
Location: Mumbai, India
09-02-2007, 08:29 AM

I do not think it is rude. Just put the template code under the code tags for better viewing



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#5) Old
matzah Offline
New Member
 
Posts: 12
Join Date: Feb 2007
09-02-2007, 06:21 PM

Here is the code, the bold are what I hope to remove (the news section and the company name). ... once removed, the auto-responder will not send:

Quote:
<{if $ishtml == true}><font face="Verdana, Arial, Helvetica" size="2"><{$ticket[fullname]}>,<BR>
<{$language[arintro]}><BR>
<BR>
&nbsp;&nbsp;&nbsp;<b><{$language[articketid]}></b><{$ticket[fticketid]}><BR>
&nbsp;&nbsp;&nbsp;<b><{$language[arsubject]}></b><{$ticket[subject]}><BR>
&nbsp;&nbsp;&nbsp;<b><{$language[ardepartment]}></b><{$ticket[department]}><BR>
&nbsp;&nbsp;&nbsp;<b><{$language[arpriority]}></b><{$ticket[priority]}><BR>
&nbsp;&nbsp;&nbsp;<b><{$language[arstatus]}></b><{$ticket[status]}><BR>
<BR>
<{$language[arsubfooter]}><a href="<{$swiftpath}>index.php?_m=tickets&_a=viewti cket&ticketid=<{$ticket[ticketid]}>"><{$swiftpath}></a><BR><{if $settings[u_sendpw] == 1 && $user[userpasswordtxt] != "" && $user[loginapi_moduleid] == 1}>
&nbsp;&nbsp;&nbsp;<b><{$language[aremail]}></b><{$ticket[email]}><BR>
&nbsp;&nbsp;&nbsp;<b><{$language[arpassword]}></b><{$user[userpasswordtxt]}><BR>
<{/if}>
<BR><{if $newscount != 0}>
<{foreach key=newskey value=newsitem from=$news}>
<b><{$newsitem[index]}>.</b> <a href="<{$swiftpath}>index.php?_m=news&_a=viewnews& newsid=<{$newsitem[newsid]}>&group=<{$ticket[tgroup]}>"><{$newsitem[subject]}></a><BR>
<{/foreach}>
<BR>
<{/if}>

<{$language[arfooter]}><BR>
<BR>
<{$settings[general_companyname]}><{if $queuesignature != ""}><BR><{$queuesignature}><{/if}></font><{else}><{$ticket[fullname]}>,
<{$language[arintro]}>

<{$language[articketid]}><{$ticket[fticketid]}>
<{$language[arsubject]}><{$ticket[subject]}>
<{$language[ardepartment]}><{$ticket[department]}>
<{$language[arpriority]}><{$ticket[priority]}>
<{$language[arstatus]}><{$ticket[status]}>

<{$language[arsubfooter]}><{$swiftpath}>index.php?_m=tickets&_a=viewticket &ticketid=<{$ticket[ticketid]}><{if $settings[u_sendpw] == 1 && $user[userpasswordtxt] != "" && $user[loginapi_moduleid] == 1}>

<{$language[aremail]}><{$ticket[email]}>
<{$language[arpassword]}><{$user[userpasswordtxt]}>
<{/if}>

<{if $newscount != 0}>
<{foreach key=newskey value=newsitem from=$news}>
<{$newsitem[index]}>. <{$newsitem[subject]}>
<{$swiftpath}>index.php?_m=news&_a=viewnews&newsid =<{$newsitem[newsid]}>&group=<{$ticket[tgroup]}>

<{/foreach}>

<{/if}>

<{$language[arfooter]}>

<{$settings[general_companyname]}><{if $queuesignature != ""}>
<{$queuesignature}><{/if}><{/if}>
   
Reply With Quote
  (#6) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,852
Join Date: Aug 2006
Location: Mumbai, India
09-02-2007, 06:47 PM

Code seems to be ok. Did you try clearing your software cache after removing the code?



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#7) Old
matzah Offline
New Member
 
Posts: 12
Join Date: Feb 2007
09-02-2007, 07:03 PM

Yes, I have done the link version and clearing the cache directory (minus the index.html file)... and I rerun them both after each change

Thanks!
   
Reply With Quote
  (#8) Old
Hermelin Offline
Member
 
Posts: 42
Join Date: Nov 2006
Location: Germany
09-02-2007, 09:12 PM

I have a similar problem. Whenever I modify the autoresponder (even with code OK) it almost always stop working, then the next day it usually works OK. I don't have enough time to analyse the problem though.

Anne


Using e-support 3.20.02 for internal support
   
Reply With Quote
  (#9) Old
matzah Offline
New Member
 
Posts: 12
Join Date: Feb 2007
12-02-2007, 06:28 PM

bump
   
Reply With Quote
  (#10) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,852
Join Date: Aug 2006
Location: Mumbai, India
12-02-2007, 07:46 PM

You need to have someone look into the templates from the system. It would be difficult to point out the possible cause of the issue as you have already covered the possible reason where the if statement is removed unitentionally. Contact Kayako support if they can help you out with this issue.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#11) Old
matzah Offline
New Member
 
Posts: 12
Join Date: Feb 2007
17-02-2007, 05:11 PM

FYI, this is how Kayako Support fixed it... a little differently than how I thought it was to be done:
Quote:
<{if $ishtml == true}><font face="Verdana, Arial, Helvetica" size="2"><{$ticket[fullname]}>,<BR>
<{$language[arintro]}><BR>
<BR>
&nbsp;&nbsp;&nbsp;<b><{$language[articketid]}></b><{$ticket[fticketid]}><BR>
&nbsp;&nbsp;&nbsp;<b><{$language[arsubject]}></b><{$ticket[subject]}><BR>
&nbsp;&nbsp;&nbsp;<b><{$language[ardepartment]}></b><{$ticket[department]}><BR>
&nbsp;&nbsp;&nbsp;<b><{$language[arpriority]}></b><{$ticket[priority]}><BR>
&nbsp;&nbsp;&nbsp;<b><{$language[arstatus]}></b><{$ticket[status]}><BR>
<BR>
<{$language[arsubfooter]}><a href="<{$swiftpath}>index.php?_m=tickets&_a=viewti cket&ticketid=<{$ticket[ticketid]}>"><{$swiftpath}></a><BR><{if $settings[u_sendpw] == 1 && $user[userpasswordtxt] != "" && $user[loginapi_moduleid] == 1}>
&nbsp;&nbsp;&nbsp;<b><{$language[aremail]}></b><{$ticket[email]}><BR>
&nbsp;&nbsp;&nbsp;<b><{$language[arpassword]}></b><{$user[userpasswordtxt]}><BR>
<{/if}>
<BR><{if $newscount != 0}>
<BR>
<{/if}>
<{$language[arfooter]}><BR>
<BR>
<{$settings[general_companyname]}><{if $queuesignature != ""}><BR><{$queuesignature}><{/if}></font><{else}><{$ticket[fullname]}>,
<{$language[arintro]}>

<{$language[articketid]}><{$ticket[fticketid]}>
<{$language[arsubject]}><{$ticket[subject]}>
<{$language[ardepartment]}><{$ticket[department]}>
<{$language[arpriority]}><{$ticket[priority]}>
<{$language[arstatus]}><{$ticket[status]}>

<{$language[arsubfooter]}><{$swiftpath}>index.php?_m=tickets&_a=viewticket &ticketid=<{$ticket[ticketid]}><{if $settings[u_sendpw] == 1 && $user[userpasswordtxt] != "" && $user[loginapi_moduleid] == 1}>

<{$language[aremail]}><{$ticket[email]}>
<{$language[arpassword]}><{$user[userpasswordtxt]}>
<{/if}>

<{if $newscount != 0}>
<{/if}>
<{$language[arfooter]}>

<{$settings[general_companyname]}><{if $queuesignature != ""}>
<{$queuesignature}><{/if}><{/if}>
   
Reply With Quote
Reply

Tags
dashboard, emailautoresponder, templates

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Versions. Just PHP changes or Templates too ? kropes SupportSuite, eSupport and LiveResponse 1 05-05-2006 01:04 AM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47