- Edited
HiIt is possible to add a column with the field Help Topics in the SCP?
HiIt is possible to add a column with the field Help Topics in the SCP?
There is no way to do that using the ui at this time.You can do it, but it would require you to have a working knowledge of PHP and HTML to edit the core files yourself. I am moving this thread to Mods and Customizations in case someone else has done this before.
I'm editing the codes, my intention is to replace the ' assigned to ' for ' help topics '.You understand?PS: Sorry for my English.
The Solution:Edit include/staff/tickets.inc.phpcirca line 197 locate:$sortOptions=array('date'=>'ticket.created','ID'=>'ticketID','pri'=>'priority_urgency','name'=>'ticket.name','subj'=>'ticket.subject','status'=>'ticket.status','assignee'=>'assigned','staff'=>'staff','dept'=>'dept_name');Add ,'helptopic'=>'helptopic' end linecirca line 352 locate:title="Sort By Subject <?php echo $negorder; ?>">Subject</a></th>On the next line add:<th width="40"> <a <?php echo $helptopic_sort; ?> href="tickets.php?sort=helptopic&order=<?php echo $negorder; ?><?php echo $qstr; ?>" title="Sort By Topic <?php echo $negorder; ?>">Topic</a></th>circa line 443 locate:<?php echo $row?"<span class='Icon file'> </span>":''; ?> </td>On the next lin after add:<td><?php echo (isset($row)) ? $row : ' ';?></td>circa line 466 locate:<td colspan="7">change it to:<td colspan="8">
Hi I am from Argentina, I have this same problem. We appreciate if you could help me. I want to add help topics on the main screen scp. I followed these steps but did not work. I attached a screenshot of the result and code my tickets.inc.php. Thank you
@martindamiani you posted a reply to the solution to you problem posted by the original starter of this thread.
I have the same need:
Add a column with the field Help Topics in the SCP.
I have OSTicket v1.14.8.
Thanks.
Do you mean here ?