Closed (duplicate)
Project:
Forward
Version:
6.x-1.9
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2011 at 14:58 UTC
Updated:
12 Mar 2013 at 18:37 UTC
I may have simply missed the correct template term to do this, but if I want to set the subject to include the node title, that would be a really useful feature.
If it is possible, what is the relevant term, and if it is not, it would appear a good feature to add to the module.
Thanks,
J
Comments
Comment #1
john.oltman commentedDuplicate of http://drupal.org/node/207263
Comment #2
roblogHi. I realise you closed this because it is duplicated, but the duplicate relates to Drupal 7. Is there a way of doing this in Drupal 6 at all? Thanks .. Rob
Comment #3
john.oltman commentedUnfortunately, no, this is a limitation of the 6.x and 7.x-1.x branches. To enable node title in the subject would require changing this line of code in the 6.x branch of forward.module:
$params['subject'] = t(variable_get('forward_'. $emailtype .'_subject', '!name has sent you a message from !site'), array('!name' => $form_state['values']['name'], '!site' => variable_get('site_name', 'drupal')));At this point in the execution, the variable
$content->titlewill contain the node title, assuming you are forwarding a node.Comment #4
roblogHi John. Thanks for the reply.