Hi,in the older osticket versions the subject field was larger and easier to read the subject title.Actual it is very short so we would like to change this.Does somebody knows an easy way to change this? Maybe its just needed to change the table size, but dont know in which config file?Thanks :-)

If you are wanting to do it in the agent ticket queue, you can do it in \include\staff\tickets.inc.phpWe had to adjust table and column widths when adding a new column, and this is where we did it.

Hi blueyeguy,that works, but unfortunately just for the subject frame, the subject text inside the frame ist stillthe same and not automatically resized...How did you configured the text size / length for your new column?

5 days later

Hi,If you mean the subject where it gets cut off with '...' is not filling the subject box, then a quick way to do this is in 'tickets.inc.php'  around line 559 ish (I cannot be more precise as I have edited my php file a bit and it will not look like yours).. Experiment with changing the $base value to get the correct length..  Bear in mind there are a few spaces you need to leave space for, paperclip, message count etc.Hope that helps, :)                <td><div style="max-width: <?php                    $base = 432; // <<----- CHANGE THIS                    // Make room for the paperclip and some extra                    if ($T) $base -= 18;                    // Assume about 8px per digit character                    if ($threadcount > 1) $base -= 20 + ((int) log($threadcount, 10) + 1) * 8;

Yes as @[deleted] says, you can adjust how much it shows before truncating.

9 months later
2 years later

Hello again :-)
I tried to find out where in the actual version 1.11 it is possible to change the subject field width again
but actual i wasnt able to found the right place.

The file \include\staff\tickets.inc.php does not exist in 1.11...

Maybe somebody already knows?

Write a Reply...