Page 1 of 1

MOD Home page

Posted: Thu Jan 19, 2012 8:22 pm
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.

Re: MOD Home page

Posted: Fri Jan 20, 2012 2:53 pm
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.

Re: MOD Home page

Posted: Fri Jan 20, 2012 6:44 pm
by MattE911
Thanks so much that's exactly what I needed. It worked like a charm!!!!!