Hi,
I did a lots of modification for my last two weeks in my osTicket Support System, because I knew that this system is a really really great software. There is so much advantages that we can get from it. So, please be kind if you see so many posts and modifications (MOD) that I sent to this forum. :
At this moment, I want to share my MOD for displaying Help Topic in viewticket.inc.php; both in the client-side and the staff-side.
Please follow these 3 steps:
1. Make sure you have already done this MOD: http://www.osticket.com/forums/showthread.php?t=2023(http://www.osticket.com/forums/showthread.php?t=2023) because this MOD is the basic things before you do the MOD at the step 2 and 3 below (in this current topic).
2. Open \include\staff\viewticket.inc.php,
FIND:
<tr>
<th>Department:</th>
<td><?=Format:($ticket->getDeptName())?></td>
</tr>
BEFORE, ADD:
<tr>
<th>Help Topic:</th>
<td><?php echo Format:($ticket->getTopicName())?></td>
</tr>
FIND:
<tr>
<th>Source:</th>
<td><?=$ticket->getSource()?> <?=$ticket->getIP()?></td>
</tr>
REPLACE WITH:
<tr>
<th>Source:</th>
<td><?php echo $ticket->getSource()?> <?php echo $ticket->getIP()?></td>
</tr>
<tr>
<th>IP Address:</th>
<td><?php echo $ticket->getIP()?></td>
</tr>
3. Open \include\client\viewticket.inc.php,
FIND:
<tr>
<th>Department:</th>
<td><?=Format:($dept->getName())?></td>
</tr>
BEFORE, ADD:
<tr>
<th>Help Topic:</th>
<td><?php echo Format:($ticket->getTopicName())?></td>
</tr>
That's all everyone. Enjoy it!
Best regards,
Masino Sinaga