Kayako logo
Modifications & Addon Releases Modification guides and addons are posted here to share with the community. Do not post requests in here!

Notices

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
Matthew Offline
Member
 
Matthew's Avatar
 
Posts: 197
Join Date: Oct 2007
Location: Jakarta, Indonesia
Show Breakline Parse Order - 26-10-2008, 06:39 PM

Breaklines are parsed according to the breaklineid value in the swbreaklines table.

Here's how to show that info, for troubleshooting your breaklines.

In /modules/core/admin_parser.php, locate this code...
PHP Code:
    $fields[0]["name"] = "breakline";
    
$fields[0]["title"] = $_SWIFT["language"]["title"];
    
$fields[0]["width"] = ""
Insert after it:
PHP Code:
    // Show Parse Order Mod by Matthew Arciniega
    
$fields[1]["type"] = "breaklineid";
    
$fields[1]["name"] = "breaklineid";
    
$fields[1]["title"] = $_SWIFT["language"]["breaklineparseorder"];
    
$fields[1]["width"] = "100";
    
$fields[1]["align"] = "center";
    
// End Parse Order Mod 
You also need to add a string to /locale/en-us/emailparser.php, down in the breaklines section:
PHP Code:
    'breaklineparseorder' => 'Parse Order'//Show Parse Order by Matthew Arciniega 


Matthew Arciniega
+ Free: Ticket List & Search Mods
| Dept. Display Names
+ Free: (Almost) Perfect Outlook/HTML Tickets
+ Tutorials: SLA System Explained
| Using Template Groups
Kayako v3.20.02 | PHP: 5.2.6 | MySQL: 5.0.58 | CentOS 4
   
Reply With Quote
Reply

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
Free Add display order by "Manage Departments" Dynadata Modifications & Addon Releases 2 25-10-2008 06:10 PM
Mail Pre Parse Rules PeteV How do I? 0 16-08-2007 07:08 PM
Mail parser -> Breaklines -> Execution order BigDawgRob Will Implement (V4) 0 20-07-2007 06:00 PM
biggest doubt:When to write pre parse and when to write a post parse rule vineethshyam SupportSuite, eSupport and LiveResponse 1 10-10-2006 05:17 PM



Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Help desk software by Kayako.


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 48