Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Check out my screenshot / Got a couple questions

Hey all,

I've been using my own home-brewed system for maintaining work orders, but it requires a lot of grease work. I've tried a few support ticket systems (FreshDesk, ZenDesk, etc.) but they weren't customization enough to fit my (pretty simple) needs.

Holy man am I ever glad that I took the time to install osTicket!

I've been hacking it to resemble my web site: I have to admit that I'm a bit of a sucker for eye candy. My philosophy is that, if I'm going to using it as a constant part of my workflow, I should be as excited as possible to look at it.

Hopefully someone will find inspiration in how much I've been able to modify the look and layout. I am not a coder, just a mere hack.

I am very close to feeling like I've completed what I set out to do, but I still have a couple of mods that I can't figure out on my own.

I'm hoping that someone (ntozier, perhaps?) can do me a kindness.

1) You'll notice in my screenshot that I've renamed "Subject" to "Description". Nonetheless, I'd like to know where in the code it is determined how many characters are displayed before the subject is truncated. I'd like to display more of the subject.

2) How can I display the due date, rather than the date that the ticket was created?

3) How can I display the client's phone #?

Comments

  • Screenshot:
    tickets.png
    885 x 626 - 126K
  • 1) You'll notice in my screenshot that I've renamed "Subject" to "Description". Nonetheless, I'd like to know where in the code it is determined how many characters are displayed before the subject is truncated. I'd like to display more of the subject.

    Just found the answer to my first question in an old forum post from oddsmojo:

    In 
    include/staff/tickets.inc.php

    $subject = Format::htmlchars(Format::truncate($row['subject'],40));

    ^change the 40 to a higher value.

  • Alright I'm on a roll here. 

    2) How can I display the due date, rather than the date that the ticket was created?

    I found this elsewhere in the forum:

    <td align=\"center\" nowrap>
    <?php
           echo Format::db_date($row['duedate']) ? Format::db_date($row['duedate']) : '&nbsp;';
    ?>
    </td>

  • Well I'm good and stuck on my 3rd question.

    Can anyone tell me how to display the client's phone # is the SCP?
  • edited February 2014
    I think that one of these two ought to work...  but honestly have never tried to do that.

    <?php echo $info['phone']; ?>
    or
    <?php echo $ticket->getPhoneNumber(); ?>

    As an FYI you did a a great job of integrating into your theme.  kudos!

  • Neither of those worked for me, ntozier. But thanks for your suggestions and encouragement. :)
  • You mean the table of a created ticket?
    In older version (viewticket.inc.php):
    <tr>
                    <th>Phone:</th>
                    <td><?=Format::phone($ticket->getPhone())?></td>
    </tr>

    Hope it works for you.

    :)
  • by the way can i have that design?
    i love it
  • Thank, ozkr. I'm going to try your suggestion later.

    I had someone else ask me for the design, and I'm happy to share it.. but I wouldn't know how.

    I've modified so many files to get everything to work, it seems to me that you would have to copy my entire installation (which would overwrite your own mods), no? 

    I'm running 1.8.0.2.
  • <?=Format::phone($ticket->getPhone())?>

    Fatal error: Call to a member function getPhone() on a non-object
    :(
  • you want to show the phone in the ticket list? or inside a ticket?
  • on the ticket list... but i've got it sorted... i hired a programmer on freelancer.com and he implemented it for me. :)
  • can you share please share what did?
  • Hey Patryk,

    Just taking a stab at it, you would need to pull the ticket phone number in the SQL statement in \include\staff\tickets.inc.php.  Then, you would use that and put it in as a new column.
  • Sorry, Patryk... I hired a programmer from India and he implemented this for me. I have no clue how he did it!
  • BTW I have received quite a bit of interest in my design since I posted it, almost two years ago.

    Since that time I have continued to put hundred of hours into it. I think a psychologist would describe it as an obsession.

    I haven't even begun on the Client's side. But the Staff side is fully responsive and has some interesting new features.

    Here is a look at the current desktop layout:


    Image-001.png
    1009 x 1382 - 252K
  • And here is what it looks like on a mobile screen:
    Image-002.png
    953 x 2748 - 272K
  • I still have a lot of work to do on the Staff area... the old expression "The Devil is in the details" comes to mind.

    I then plan on revamping the Client area. 

    I expect that, at some point in 2016, I will release this theme/mod for a fee to help recoup the time and lost wages I have put into it.

    I will probably offer it 
    beforehand to beta testers for free. 

    When I first posted my screenshot, I wasn't looking for attention. Now I suppose I am.  :)
  • dibs on a Beta slot. :)
  • I am stoked that you of all people are interested, Neil. I worked on this project non-stop over the holidays and I should have version 0.9.1 ready soon.
  • Will you sell it or give it to the community? (would make you immortal for sure :)
  • Thanks, ravecoyote, but immortality has never really interested me. I've decided this is going to be a commercial product so that it can be sustainable.

    When I created this thread, I was hacking away at v1.9.12.

    Since that time I switched gears and started from scratch with v1.10-RC.2, in anticipation of the imminent release of v1.10.

    I am currently seeking beta testers as I've posted here:
    http://osticket.com/forum/discussion/87362/seeking-beta-testers#latest
Sign In or Register to comment.