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
  (#1) Old
joshuah Offline
Member
 
Posts: 124
Join Date: Oct 2007
Ticket locking... is this possible? - 16-05-2008, 06:43 AM

Dear All,

I am trying to implement a simple thing, within the ticket locking feature.

What iam trying to do is, if someone is looking a ticket, it displays the padlock etc..

is it possible to; if someone is looking at the ticket to grey out the "post reply" text area? or even disable the submit reply button?

Is this possible? How would I do it?

Thanks!!
   
Reply With Quote
  (#2) Old
Andrew Scott Offline
Member
 
Andrew Scott's Avatar
 
Posts: 142
Join Date: Apr 2008
Location: Swindon, UK
16-05-2008, 11:59 AM

To do so, you should change the file kayako_path/modules/tickets/staff_viewticket.php
If you want to lock textarea you have to change the code around line 496.
If you want to lock/remove submit reply button you have to change the code around line 614.
Please let me know if this info was helpful and if you need further information.

Andrew, Holbi


Andrew Scott
kayako]at[holbi.co.uk
Kayako Development Manager
Holbi Kayako development

   
Reply With Quote
  (#3) Old
odom4ever Offline
New Member
 
Posts: 3
Join Date: May 2008
17-05-2008, 06:13 AM

Quote:
Originally Posted by Andrew Scott View Post
To do so, you should change the file kayako_path/modules/tickets/staff_viewticket.php
If you want to lock textarea you have to change the code around line 496.
If you want to lock/remove submit reply button you have to change the code around line 614.
Please let me know if this info was helpful and if you need further information.

Andrew, Holbi
line 614..i was found it .thnx!


wow gold is my best choice.
   
Reply With Quote
  (#4) Old
joshuah Offline
Member
 
Posts: 124
Join Date: Oct 2007
18-05-2008, 11:45 PM

just to confirm, if i do set this up, this could potentially mean the following:

user1 clicks on ticket-123 it displays the pad lock

if user2 clicks on ticket-123 it will display the "greyed out textarea" right?

What will happen if user1 refreshes their page for some reason? It will display that user2 is viewing the ticket? That could mess things up right?
   
Reply With Quote
  (#5) Old
Andrew Scott Offline
Member
 
Andrew Scott's Avatar
 
Posts: 142
Join Date: Apr 2008
Location: Swindon, UK
19-05-2008, 10:38 AM

If you want we can test it with you. I'm not really sure what screen user 1 will see.

Regards,

Andrew, Holbi


Andrew Scott
kayako]at[holbi.co.uk
Kayako Development Manager
Holbi Kayako development

   
Reply With Quote
  (#6) Old
joshuah Offline
Member
 
Posts: 124
Join Date: Oct 2007
22-05-2008, 05:33 AM

Quote:
Originally Posted by Andrew Scott View Post
If you want we can test it with you. I'm not really sure what screen user 1 will see.

Regards,

Andrew, Holbi
ok after testing what was suggested to make the postreply field readonly, it works.. but it has set the post reply field to ALWAYS readonly, i only want it to be readonly if deemed that someone else is looking at the ticket (locked out)
   
Reply With Quote
  (#7) Old
joshuah Offline
Member
 
Posts: 124
Join Date: Oct 2007
25-05-2008, 11:53 PM

can someone please help out with this one?
   
Reply With Quote
Reply

Tags
locking, ticket

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
Ticket locking reply preview improvement jon Duplicate Requests 0 03-07-2007 03:32 PM
New Build: 3.10.02 STABLE Ryan Lederman News and Announcements 0 05-03-2007 09:53 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