subject tipafriend email

subject tipafriend email

Tuesday 06 October 2009 2:45:49 am - 2 replies

Author Message

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.php
This 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>

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.