MOD Home page

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
MattE911
Posts: 2
Joined: Thu Jan 19, 2012 8:14 pm

MOD Home page

Post by MattE911 »

I am trying to update the home page to show instead of "Updated" time stamps the time stamp of when the ticket was opened.

I have searched the forums but have came up with no dice. I found info on how to add a category but not change.

Basically when looking through resolved tickets it is more helpful to be able to sort by the opened date not the last updated timestamp.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: MOD Home page

Post by Klemen »

In "inc/ticket_list.inc.php" try this:

1. change all instances of lastchange to dt

2. change last_update to date

3. change

Code: Select all

$ticket['dt']=hesk_time_since(strtotime($ticket['dt']));
to

Code: Select all

$ticket['dt']=hesk_formatDate($ticket['dt']);
I haven't tested any of this so backup the file first and please report back if it works.
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
MattE911
Posts: 2
Joined: Thu Jan 19, 2012 8:14 pm

Re: MOD Home page

Post by MattE911 »

Thanks so much that's exactly what I needed. It worked like a charm!!!!!
Post Reply