Kayako logo
Style & Design Customizing the look and feel of your support desk? Share thoughts and request assistance here.

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
dangovier Offline
New Member
 
Posts: 6
Join Date: Jun 2008
Question Staff CP Template Editing - 15-09-2008, 12:00 PM

Hi guys,

I am trying to change the "Last Activity" text colour, so that it shows orange after 4 hours. This is on:

/staff/index.php?_m=tickets&_a=manage

Anyone know which files I need to be editing?

I've found the below in "themes/admin_default/css.tpl", but I can't find the .php file that uses this class.

Quote:
.tickettextorange
{
COLOR: #FF8C5A;
}
I'm trying to achieve:

<4 Hours = Green
>4 Hours = Orange
>24 Hours = Red

Thanks in advance.
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 7,524
Join Date: Jun 2005
Location: Cumbria, UK
15-09-2008, 12:17 PM

I suggest you get something like PSPad - freeware unicode developer editor, capable handle near any syntax, e.g. HTML, PHP, XHTML, JavaScript, ASP, Perl, C and many other languages with HEX editor and multilanguage interface and then use Search -> Search / Replace in Files. This will allow you to search for tickettextorange in the files and find where it is used.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#3) Old
dangovier Offline
New Member
 
Posts: 6
Join Date: Jun 2008
15-09-2008, 01:07 PM

Quote:
Originally Posted by craigbrass View Post
I suggest you get something like PSPad and then use Search -> Search / Replace in Files.
Annoyingly, the only files that have that text string are css.tpl and pdastyle.css. I searched with *.* for all files in the SupportSuite install.

So I guess this means it's either in one of the encrypted files or in the SQL database.
   
Reply With Quote
  (#4) Old
craigbrass Offline
Senior Member
 
Posts: 7,524
Join Date: Jun 2005
Location: Cumbria, UK
15-09-2008, 01:36 PM

Do you have the owned or leased version? If you have leased, it is likely that it is in one of the encoded files.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#5) Old
dangovier Offline
New Member
 
Posts: 6
Join Date: Jun 2008
15-09-2008, 01:43 PM

Owned
   
Reply With Quote
  (#6) Old
craigbrass Offline
Senior Member
 
Posts: 7,524
Join Date: Jun 2005
Location: Cumbria, UK
15-09-2008, 02:12 PM

I have just checked and unfortunately it is referred to inside functions.php which is an encoded file.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#7) Old
dangovier Offline
New Member
 
Posts: 6
Join Date: Jun 2008
15-09-2008, 02:59 PM

ah, damn

I take it there's no way around that?

Thanks for identifying the correct file regardless
   
Reply With Quote
  (#8) Old
craigbrass Offline
Senior Member
 
Posts: 7,524
Join Date: Jun 2005
Location: Cumbria, UK
15-09-2008, 03:22 PM

You might be able to work around it by finding the PHP file for the ticket list and then coding it there and using another style.

Other than that, no. Kayako won't release the source of that file. I would be interested to see them moving more stuff OUTSIDE that file however to stop issues like this happening.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako

Last edited by craigbrass; 15-09-2008 at 03:23 PM.
   
Reply With Quote
  (#9) Old
John Haugeland Offline
Member
 
Posts: 1,223
Join Date: Dec 2007
Location: Boise, Idaho
15-09-2008, 04:59 PM

Quote:
I would be interested to see them moving more stuff OUTSIDE that file however to stop issues like this happening.
I've been pushing for the same thing.


John used to be a Kayako developer
   
Reply With Quote
  (#10) Old
craigbrass Offline
Senior Member
 
Posts: 7,524
Join Date: Jun 2005
Location: Cumbria, UK
15-09-2008, 05:37 PM

Ah, glad to know we have somebody pushing on the inside too!


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#11) Old
dangovier Offline
New Member
 
Posts: 6
Join Date: Jun 2008
16-09-2008, 08:26 AM

Cool

I can understand and support keeping core code encrypted, but anything directly affecting the look and feel of the GUI should be hackable :P
   
Reply With Quote
  (#12) Old
craigbrass Offline
Senior Member
 
Posts: 7,524
Join Date: Jun 2005
Location: Cumbria, UK
16-09-2008, 09:16 AM

I think the original reason may of been so you can't just remove the functions.php file and it still work but with all the other stuff in there, a lot of it can be moved outside.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#13) Old
John Haugeland Offline
Member
 
Posts: 1,223
Join Date: Dec 2007
Location: Boise, Idaho
16-09-2008, 07:56 PM

Quote:
Originally Posted by dangovier View Post
Cool

I can understand and support keeping core code encrypted, but anything directly affecting the look and feel of the GUI should be hackable :P
Very nearly everything is. This is an oversight.


John used to be a Kayako developer
   
Reply With Quote
Reply

Tags
css, edit, staff, template

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
Using Template Groups - A Tutorial Matthew How do I? 9 03-02-2010 04:40 PM
Modifying Staff Reply Email Template jasonwood SupportSuite, eSupport and LiveResponse 1 25-07-2008 01:28 PM
error when editing template jeffshead SupportSuite, eSupport and LiveResponse 2 04-06-2008 10:27 AM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78