1. Welcome to the feedback forum. Here's some tips for giving your suggestions the best shot:
    • Search before posting: See if someone else has already posted your suggestion. If you add your support to an existing, you're more likely to bubble up the request.
    • Keep one suggestion to one thread: Try not to club lots of different suggestions together in one thread. Otherwise, people will get confused about what they're voting for and we might miss your feedback.

Not planned Ticket ID at _end_ of subject line?

Discussion in 'Kayako product feedback and suggestions' started by Marvin Herbold, Jan 29, 2012.

Thread Status:
Not open for further replies.
  1. Marvin Herbold

    Marvin Herbold Established Member

    Is there any way to make Kayako put the ticket id at the end of the subject line instead of at the beginning? The reason I ask this is because having it at the beginning makes subject lines ugly on mobile phones - the real subject line is pushed out of the view and all the client sees is the ticket id. If it is not possible, can someone familiar with the code point me in the right direction to make the changes myself?
     
  2. Jamie Edwards

    Jamie Edwards Chief Limey Staff Member

    Hi Marvin,

    No, this isn't possible yet but it is a very interesting point. I'll move this thread to the feature requests forum
     
  3. wool

    wool New Member

    Any update on this feature request? Could it be under consideration for a future release? I just posted a thread today in the developers forum to try to get some advice on modifying the php code to do this as well, but it would be really awesome if it was just a configurable option in the admin control panel (i.e. configurable name: subject line ticket id location with dropdown choices: beginning/end). It seems most other ticket systems put the ticket id at the end of the subject and we would like ours to do this as well.
     
  4. Goran

    Goran New Member

    Modify the following file : _modules/tickets/library/Ticket/class.SWIFT_Ticket.php

    Find something like:

    PHP:
          switch ($_mailType) {
                case 
    self::MAIL_NOTIFICATION:
                    return 
    '[' $_finalSubjectPrefix '!' $this->GetTicketDisplayID() . ']: ' $_finalSubject;
                    break;
     
                case 
    self::MAIL_CLIENT:
                    return 
    '[' $_finalSubjectPrefix '#' $this->GetTicketDisplayID() . ']: ' $_finalSubject;
                    break;
     
                case 
    self::MAIL_THIRDPARTY:
                    return 
    '[' $_finalSubjectPrefix '~' $this->GetTicketDisplayID() . ']: ' $_finalSubject;
                    break;
     
                default:
                    break;
            }
    At line 4297 in my installation.

    and replace it with :

    PHP:
            switch ($_mailType) {
                case 
    self::MAIL_NOTIFICATION:
                    return  
    $_finalSubject ' [' $_finalSubjectPrefix '!' $this->GetTicketDisplayID() . ']';
                    break;
     
                case 
    self::MAIL_CLIENT:
                    return  
    $_finalSubject ' [' $_finalSubjectPrefix '#' $this->GetTicketDisplayID() . ']';
                    break;
     
                case 
    self::MAIL_THIRDPARTY:
                    return  
    $_finalSubject ' [' $_finalSubjectPrefix '~' $this->GetTicketDisplayID() . ']';
                    break;
     
                default:
                    break;
            }
     
  5. Drew Keller

    Drew Keller Just one person in a world of millions.

Thread Status:
Not open for further replies.

Share This Page