| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
| Operations Manager Posts: 5,025 Join Date: Jan 2006 Location: United Kingdom |
25-03-2008, 07:41 PM
Hi jenglish, There are a number of tags in there you have not allowed. You need to either extend the list of tags you wish to allow, or disable tag stripping altogether to let them all through. -------------------------------------------------------------------
|
| | |
(#3)
|
(#4)
|
(#5)
|
| Member Posts: 137 Join Date: Oct 2007 Location: Jakarta, Indonesia |
26-03-2008, 05:12 AM
Sorry, I think I misread things a little. I also see the same problem as jenglish with tickets originating in Outlook. But another thing I see is that when helpdesk staff reply to a new ticket via Outlook, all the line breaks get stripped and the message goes to the client in one long messy paragraph. The Precision Group + Holiday schedules, attachable to work and staff schedules + No more HTML parsing bugs |
| | |
(#6)
|
| Operations Manager Posts: 5,025 Join Date: Jan 2006 Location: United Kingdom |
26-03-2008, 10:40 AM
Hi there, Please try and remove all of the allowed tags, whilst keeping 'Strip tags' on. This will mean that you won't get pretty renderings of Outlook's HTML e-mail, but it will mean your e-mails are readable. Readable HTML e-mail in-line inside of a web browser is difficult to support explicitly, due to the messy nature and different approaches many e-mail clients take. Doing this, you should at least have readable plain looking e-mails. -------------------------------------------------------------------
|
| | |
(#7)
|
| New Member Posts: 22 Join Date: Jan 2007 Location: Tyler, TX | I think I see why this is happening -
26-03-2008, 01:33 PM
When the ticket post is rendered, it is getting a <br /> tag inserted at the end of every line, regardless of what is there. This is causing the extra spacing between lines (Outlook is already using <p> <div> and <span> to align the text). It is also causing the rendering problems I am having with parts of the tags being rendered as text. Note the occurance of <span <br /> style='color:#1F497D'> Not exactly valid HTML... HTML Code: <p class=MsoNormal><b><span style='color:#1F497D'>Jeremy English </span></b><span<br /> style='color:#1F497D'> </span><b><span style='color:black'>|</span></b><b><span<br /> |
| | |
(#8)
|
| New Member Posts: 22 Join Date: Jan 2007 Location: Tyler, TX | Found the code -
26-03-2008, 02:04 PM
I found the code that is inserting the <BR> tags. This was apparently done to make sure that plaintext posts are rendered correctly and do not run together on one line. I will attempt to modify this function to differentiate between a post that contains plaintext and one that has Outlook formatting tags. If I get it working, I will post the solution here. Wish me luck! |
| | |
(#9)
|
| New Member Posts: 22 Join Date: Jan 2007 Location: Tyler, TX | Drumroll please... Here is a method of showing all the pretty formatting of Outlook , WITHOUT breaking the formatting of newlines on plaintext posts. This requires an edit to modules/tickets/functions_ticketmain.php Please do not attempt this if you are not familiar with PHP. YOU CAN BREAK YOUR ENTIRE HELPDESK IF YOU MESS THIS UP! Here is how to make the mod: Locate the function in this file called "getTicketPosts" Look for the section in this function with the following code (mine was on line 537, yours will probably be different) PHP Code: PHP Code: That's all it takes. You should be able to read ticket posts from Outlook in all their original HTML glory. This won't affent plain-text posts. They will still have the <BR> tags inserted so they display property. If this does not work for you, make sure your Admin control panel settings are similar to the ones in my first post. Enjoy! |
| | |
(#10)
|
| Operations Manager Posts: 5,025 Join Date: Jan 2006 Location: United Kingdom |
26-03-2008, 02:40 PM
jenglish, Just as I was typing a good luck message, here you are already! Thank you very much for sharing this fix; I really appreciate community participation. We will look at the solution and look to implement something similar. Would you be able to post in the Modifications & Addons forum? Many thanks, -------------------------------------------------------------------
|
| | |
(#11)
|
| New Member Posts: 22 Join Date: Jan 2007 Location: Tyler, TX | Jamie, I will post this in the modifications forum shortly. I am sure your team can come up with a more elegant solution for a future version. My quick hack might cause some problems I haven't found yet... Thanks for your hard work, and for such a great product. |
| | |
![]() |
| Tags |
| butchered, html, outlook, posts, ticket |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding emails from outlook to a ticket | oliverm | SyncWorks | 2 | 25-01-2008 01:46 AM |
| Tickets Tickets -> Flag individual ticket posts | Jamie Edwards | Feature Requests | 0 | 09-10-2007 06:39 PM |
| New Build: 3.10.02 STABLE | Ryan Lederman | News and Announcements | 0 | 05-03-2007 09:53 PM |
| Headache ! ticket no updated when using outlook | gallica | SupportSuite, eSupport and LiveResponse | 0 | 17-10-2006 08:51 PM |