Page 1 of 1

Hiding empty custom fields in dashboard ticket display

Posted: Fri Jul 31, 2020 5:09 pm
by UPCF
Script URL: https://www.hesk.com/download.php
Version of script: 3.1.1
Hosting company: BlueHost
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
hide empty custom fields
hide empty fields
hide fields
hide cell
hide null field

Write your message below:

In Hesk 3 when I login to:
https://exampledomain.org/tix/admin/admin_main.php

I am presented in the dash with open tickets. By using "Ticket List" I can include custom fields to display in that dash. However, if there is no value in that custom field the cell/field still displays. Do you know of a way to hide those fields? If not I was looking at this approach:

http://www.webassist.com/forums/posts.php?id=18068

However, that'll require really getting into your code further than I'm likely capable so I'd prefer to ask first. The odds are high that I will have to use my restore processes repeatedly while I figure out the syntax, so no harm in asking.

Thank you - I am loving the design and implementation potential Hesk has!

Re: Hiding empty custom fields in dashboard ticket display

Posted: Fri Jul 31, 2020 5:35 pm
by Klemen
Unfortunately no, there is no way to dynamically hide them. Modifying the code to fit your needs is the way to go.

Re: Hiding empty custom fields in dashboard ticket display

Posted: Wed Aug 05, 2020 4:49 pm
by UPCF
Klemen wrote: Fri Jul 31, 2020 5:35 pm Unfortunately no, there is no way to dynamically hide them. Modifying the code to fit your needs is the way to go.
Thanks for the update. I haven't gone through the code fully and am not a full-blown programmer. I'm presuming that I'll be modifying admin/show_tickets.php and /admin/index.php to affect change in that main dashboard. Is that right?

Re: Hiding empty custom fields in dashboard ticket display

Posted: Fri Aug 07, 2020 7:15 am
by Klemen
Also, check what additional files those files include/require and look there. In any case, make sure you backup everything you change, track your changes, and, if nothing works, perhaps hire a PHP developer for help.

Re: Hiding empty custom fields in dashboard ticket display

Posted: Fri Aug 07, 2020 3:40 pm
by UPCF
Perfect. Thanks for the pointers, and thanks for the product!