Swap fields in table

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Mangoz
Posts: 17
Joined: Mon Jul 04, 2016 4:34 pm

Swap fields in table

Post by Mangoz »

Script URL: http://www.hesk.com/demo.php
Version of script: 2.6.7



How to change field sites ? For example , status field in the beginning of the table .
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Swap fields in table

Post by Klemen »

There's no built-in way of doing it, you will need to modify HTML code output in inc/ticket_list.inc.php file to achieve this.
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
Mangoz
Posts: 17
Joined: Mon Jul 04, 2016 4:34 pm

Re: Swap fields in table

Post by Mangoz »

+ hesk_settings.inc.php (// ==> TICKET LIST)
:) Thank
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Swap fields in table

Post by Klemen »

Headers are printed in the same file.

Try this:

1. open hesk_settings.php file and copy line that starts with

Code: Select all

$hesk_settings['ticket_list']
2. in ticket_list.inc.php find this line

Code: Select all

foreach ($hesk_settings['ticket_list'] as $field)
3. paste the line from settings file just ABOVE the line in step 2, then re-order the list of fields in that code
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
Mangoz
Posts: 17
Joined: Mon Jul 04, 2016 4:34 pm

Re: Swap fields in table

Post by Mangoz »

It worked!

Where can I change the sorting by status?

default:
0 => 'NEW',
1 => 'WAITING REPLY',
2 => 'REPLIED',
3 => 'RESOLVED (CLOSED)',
4 => 'IN PROGRESS',
5 => 'ON HOLD',


necessary status (3 => 'RESOLVED (CLOSED)',), display at the end of the table.
Status was close to the very end.
Post Reply