Forums / General / subject tipafriend email
Robert Malevic
Tuesday 06 October 2009 2:45:49 am
Hi All,
I would like to change the subject in tipafriend email to include the sender's name instead of the site url. Where and how to change this?
Thanks!
Sandra Parente
Tuesday 06 October 2009 9:17:59 am
You have to modify the original kernel, so it would be better to write an extension. By the way this is the file: /kernel/content/tipafriend.phpThis is the line to be changed:
$subject = ezi18n( 'kernel/content', 'Tip from %1: %2', null, array( $hostName, $nodeName ) );
The template of the email is /design/standard/templates/content/tipafriendmail.tpl.
Sandra Parente www.netbliss.it
Saad Tazi
Thursday 22 October 2009 11:06:08 am
I think that a better solution would be:in a translation.ts file (in one of your extension folder), add the following:
<context> <name>kernel/content</name> <message> <source>Tip from %1: %2</source> <translation>change the stf subject line</translation> </message></context>