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
techs Offline
Member
 
Posts: 41
Join Date: Oct 2006
Client Ticket View - 14-02-2007, 05:38 PM

When my clients login they see all the closed and open tickets.. How do we allow them to customize their view or how do we create multiple views?

If they have hundreds of tickets this will be painful to sift through.

I also need to know how the customer can search on their side to find a specific ticket?
   
Reply With Quote
  (#2) Old
Hermelin Offline
Member
 
Posts: 46
Join Date: Nov 2006
Location: Germany
14-02-2007, 07:28 PM

As I wanted to sort the list by Department and to display only non-closed tickets by default, I completelly changed the template to something like this:

PHP Code:
<?
  $my_ticketlist 
= (array) $this->_vars["ticketlist"];
  
$my_departmentlist = (array) $this->_vars["_SWIFT"]["departmentcache"];
  
$my_tldepartment = array ();
  
$my_tlticketid = array ();
  
$my_currentdepartmentid NULL;
  
$my_rowclass "row1";
// Filter closed tickets and prepare sort
  
foreach ($my_ticketlist as $key => $value) {
    if ( 
$value["status"] != "Closed" ) {
      
array_push ($my_tldepartment$my_departmentlist[$value["departmentid"]]["displayorder"]); 
      
array_push ($my_tlticketid$value["ticketid"]);
    }
  }  
// Sort the ticket list by department
  
array_multisort ($my_tldepartmentSORT_ASC$my_tlticketidSORT_DESC);
// Display the sorted ticket list
  
foreach($my_tlticketid as $key => $value) {
    
$my_currentticket $my_ticketlist[$value];
    
$my_staffid $my_currentticket["ownerstaffid"]; 
    if ( 
$my_currentticket["departmentid"] != $my_currentdepartmentid ) { 
      if ( isset(
$my_currentdepartmentid) ) {
// Close department list table
      
}
// Display department title and start list
    
}
//  Display ticket
  
}
?>
The side effect is that if the client have mutiple pages of tickets with old tickets open the pagination will be strange. I didn't get as far as making the nice coloring of rows from Kayako...

More a post for development, but I hope it helps though.

Anne

N.B. That was set up in previous stable version, still works, my PHP code may not be optimal, performances not tested, also I quickly withdrew the terrible html that I need from my website because that probably doesn't help anybody...


Using e-support 3.20.02 for internal support

Last edited by Hermelin; 14-02-2007 at 07:30 PM.
   
Reply With Quote
Reply

Tags
client, ticket

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
Ability for Client to Close Own Ticket. netFusion Wont Implement / Already Implemented 20 04-09-2007 08:15 AM
View ticket by status in client side Jemrada SupportSuite, eSupport and LiveResponse 0 14-02-2007 03:48 AM
Unable to view ticket online JamesSmith SupportSuite, eSupport and LiveResponse 0 22-05-2006 01:09 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