Kayako logo
Developers & Code Interested in customizing your Kayako products? Discuss modifications and develop your own mods with the community.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#76) Old
Sheep Offline
Member
 
Sheep's Avatar
 
Posts: 345
Join Date: Feb 2007
Location: Lyon, France
24-04-2008, 06:43 AM

It's as simple as this:
Quote:
a;img;p;br;font;tr;blockquote;h1;h2;h3;h4;user;sta ff;pre;red;blue;ul;li;hr;b;i;u;strong;em
Put this in the admin setting mailparser "allowed tags"
then change all
PHP Code:
strip_tags($<name of the variable>,<ANYTHING WHATEVER IT IS>); 
or
PHP Code:
strip_tags($<name of the variable>); 
to
PHP Code:
strip_tags_except($<name of the variable>, $_SWIFT["settings"]["pr_allowabletags"]); 
<name of the variable> should be always "html" but if it's different don't forget to let it like the original one (change only the second parameter: the one behind the coma ",")


Antoine "Sheep" BERMON
-- Lurking around there --

Last edited by Sheep; 24-04-2008 at 07:00 AM.
   
Reply With Quote
  (#77) Old
Sjelle Offline
New Member
 
Posts: 16
Join Date: Aug 2006
Location: Belgium
29-05-2008, 02:14 AM

I've done all the modifications but still cannot find the staff section html display to work.

Staff is still looking at the html code, making the text really hard to read.

Any idea where I missed ???
   
Reply With Quote
  (#78) Old
Matthew Offline
Member
 
Matthew's Avatar
 
Posts: 168
Join Date: Oct 2007
Location: Jakarta, Indonesia
06-10-2008, 07:45 PM

Quote:
Originally Posted by jenglish View Post
I managed to get the WYSIWYG to load automatically on new tickets and post reply (works GREAT, BTW.)
...
I am running into problems with having the toolbar load twice on the post reply tab. It seems the EDITORON() function is loading multiple times whenever the tabs are switched back and forth.
Jenglish, what was your solution for the first issue, and did you ever resolve the second?

Thanks a lot.


Matthew Arciniega
The Precision Group

+ Free: Ticket List & Ticket Search Mods

+ Free: (Almost) Perfect Outlook/HTML Tickets
+ Tutorials: SLA System Explained l Using Template Groups
Kayako v3.20.02 & v3.30.02 | PHP: 5.2.6 | MySQL: 5.0.58 | CentOS 4 Server
   
Reply With Quote
  (#79) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 537
Join Date: Dec 2007
Location: Idaho
06-10-2008, 09:14 PM

If you accept unordered list (ul), you probably also want to accept ordered list and definition list (ol and dl), as well as definition term and definition description (dt and dd); if you accept table row (tr) you should probably also accept table, tbody, td, col, caption, thead and tfoot; if you accept blockquote you should accept cite; there are lots of denotational tags (abbr, addr, q, et cetera) missing; user, staff, red and blue are not html tags; et cetera. This should probably be compared with a complete HTML 4.01 tag list, to see what else is missing.

Please remember that images with URL arguments (and other loadable resources) are common ways to invoke spam tracking to tell spammers that you're receiving mail at a given address.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#80) Old
Matthew Offline
Member
 
Matthew's Avatar
 
Posts: 168
Join Date: Oct 2007
Location: Jakarta, Indonesia
07-10-2008, 07:38 AM

Quote:
Originally Posted by John Haugeland View Post
If you accept unordered list (ul), you probably also want to accept ordered list and definition list (ol and dl).....
Thanks a lot for the tips, John. Cheers.


Matthew Arciniega
The Precision Group

+ Free: Ticket List & Ticket Search Mods

+ Free: (Almost) Perfect Outlook/HTML Tickets
+ Tutorials: SLA System Explained l Using Template Groups
Kayako v3.20.02 & v3.30.02 | PHP: 5.2.6 | MySQL: 5.0.58 | CentOS 4 Server
   
Reply With Quote
  (#81) Old
jenglish Offline
New Member
 
jenglish's Avatar
 
Posts: 24
Join Date: Jan 2007
Location: Tyler, TX
Thumbs up TinyMCE - 09-10-2008, 02:53 PM

Everyone,

If you are trying to integrate a WYSIWYG editor on Kayako, I highly recommend TinyMCE. Google is rife with integration instructions. Happy coding!
   
Reply With Quote
Reply

Tags
html, wysiwyg

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Outgoing HTML Emails Need Staff To Code HTML in Tickets? Elite SupportSuite, eSupport and LiveResponse 7 08-01-2008 06:51 PM



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