| Previous topic :: Next topic |
| Author |
Message |
Jerry
Joined: 06 Jul 2007
Posts: 51
|
| Posted: Fri Oct 19, 2007 7:45 am Post subject: Change core of mail's ticket |
|
|
Hello,
I try to change contets and labels into mails send when a ticket is created.
I looked for into save.php, and php files in tickets module.
And I have no solution.
Thanks for answers |
|
| Back to top |
|
carloz
Joined: 11 Sep 2007
Posts: 436
Location: Brescia, Italy
|
| Posted: Sat Oct 20, 2007 2:39 pm Post subject: Change core of mail |
|
|
Hi Jerry,
lines 131-141 of modules/HelpDesk/Save.php, for example, indicate what to write in the e-mail body if the contact is *not* a portal user...
{
$data['sub']=$_REQUEST['ticket_title'];
$data['parent_name']=$parentname;
$data['status']=$focus->column_fields['ticketstatus'];
$data['category']=$focus->column_fields['ticketcategories'];
$data['severity'] = $focus->column_fields['ticketseverities'];
$data['priority']=$focus->column_fields['ticketpriorities'];
$data['description']=$focus->column_fields['description'];
$data['solution'] = $focus->column_fields['solution'];
$data['mode']= $_REQUEST['mode'];
$email_body = getTicketDetails($focus->id,$data);
}
changing or deleting these fields, adding some static text here, ... will alter tickets' e-mails contents
ciao
carloz |
|
| Back to top |
|
Jerry
Joined: 06 Jul 2007
Posts: 51
|
| Posted: Mon Oct 22, 2007 6:42 am Post subject: Re: Change core of mail's ticket |
|
|
Hello and thank you.
I will use this information.
To go further : there is static text into the mail. Thanks to the file save.php, we can change fields and add information. But where to change what is already existing.
Thank you |
|
| Back to top |
|
rasomu
Joined: 14 Jul 2005
Posts: 131
Location: Valencia, Spain
|
| Posted: Mon Oct 22, 2007 9:42 am Post subject: Re: Change core of mail's ticket |
|
|
Have you looked on en_us.lang.php?
If I'm not wrong the statick text is taken as sting from a lang file.
Try on helpdesk or portal user modules, I can't remember exactly in wich one it is. |
|
| Back to top |
|
Jerry
Joined: 06 Jul 2007
Posts: 51
|
| Posted: Mon Oct 22, 2007 1:15 pm Post subject: Re: Change core of mail's ticket |
|
|
Hi,
It's in the language file of the module, from line 175 to 189
thanks a lot, my pb is solved. |
|
| Back to top |
|
| |