You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2007-04-23 20:36:00

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Custom emails?

Hi,

Is there any way to customise the emails send out, so that that last "follow-up" is put at the top of the email, rather than users having to scroll down to the list of follow-up at the bottom.  The last follow-up is usually the only thing of interest in the emails..


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

#2 2007-04-23 21:12:57

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Custom emails?

function textFollowups in tracking.class.php :

line 485

$query = "SELECT * FROM glpi_followups WHERE tracking = '".$this->fields["ID"]."' AND private = '0' ORDER by date DESC";

replace with

$query = "SELECT * FROM glpi_followups WHERE tracking = '".$this->fields["ID"]."' AND private = '0' ORDER by date ASC";


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2007-05-16 15:57:17

ukah310
Member
From: UK
Registered: 2007-05-16
Posts: 1

Re: Custom emails?

On the same subject, is it possible to add our own text to the email?  I'd like it to say something a bit more readable for our end-users.

Many thanks/Merci,
Liz

Offline

#4 2007-05-17 13:28:05

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Re: Custom emails?

Hi - not quite what I was looking for, at the moment it gives the email as: (eg)
--------
URL:  http://server/etc

Description of the ticket

Author:
Dates:
Request Source:
Status: (etc)

Tickets already done:  99

[date]
author: adrian marsh
Contents:
THIS IS THE MESSAGE
--------

What I want instead:

--------
URL: http://someurls

THIS IS THE MESSAGE


Description of the ticket

Author: Adrian Marsh
Begin Date: asa
etc.etc..
--------


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

Board footer

Powered by FluxBB