Hiding empty custom fields in dashboard ticket display

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
UPCF
Posts: 3
Joined: Thu Jul 30, 2020 3:27 am

Hiding empty custom fields in dashboard ticket display

Post 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!
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hiding empty custom fields in dashboard ticket display

Post by Klemen »

Unfortunately no, there is no way to dynamically hide them. Modifying the code to fit your needs is the way to go.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
UPCF
Posts: 3
Joined: Thu Jul 30, 2020 3:27 am

Re: Hiding empty custom fields in dashboard ticket display

Post 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?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hiding empty custom fields in dashboard ticket display

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
UPCF
Posts: 3
Joined: Thu Jul 30, 2020 3:27 am

Re: Hiding empty custom fields in dashboard ticket display

Post by UPCF »

Perfect. Thanks for the pointers, and thanks for the product!
Post Reply