So I have added a custom source via DB and via class.ticket.php, from the ticket list view, depending on their sources, an icon corresponding to their ticket source is shown, since I have added a custom ticket source, where do I set the icons for the custom source I have added? Atm I can only see, blank or no icon for the custom sources I have added. Basically I just want to have some icon on the source I have added.

If you view the source for an existing icon a ticket created on the web adds:
<span class="Icon webTicket"></span>

Emailed adds:
<span class="Icon emailTicket">

If you view the source for the page you should be able to see what your custom status adds (if anything).

It looks like the css that displays the image for the Agent panel is here:
https://github.com/osTicket/osTicket/blob/939435131005cc82d73f47e014a050ed22a65ec1/scp/css/scp.css#L1036

The css for the User side would be here:
https://github.com/osTicket/osTicket/blob/939435131005cc82d73f47e014a050ed22a65ec1/assets/default/css/theme.css#L768

You would modify the core files to add in the css for your custom icons.

Write a Reply...