Customized mail subject

dennys - September 8, 2007 - 03:20
Project:Comment Notify
Version:7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

We can customize the mail context now, it's so great, but could we customize the mail subject too ?
It's fixed "!site :: new comment for your post." now.

#1

lomz - January 22, 2008 - 21:59

If you search for !site :: new comment for your post. in the localizer.module you can translate it.
Or you have to search for the same sentence in the comment_notify,module to change it the hardcoded way if you are using english drupal

#2

greggles - January 25, 2008 - 17:47

You can also use locale to translate from "english" to "my english" and then modify it.

I agree, though, it would be nice to be able to set the subject in some configurable way.

#3

greggles - September 12, 2008 - 22:31
Version:5.x-1.x-dev» 7.x-1.x-dev

If it happens it will be for 6.x.

#4

zilla - October 30, 2008 - 16:46

can you do this now with the 'string overrides' module without adding into this module (for time being)?

#5

greggles - October 30, 2008 - 19:43

I believe so, yes.

#6

zilla - October 30, 2008 - 22:35

honestly, and i don't mean this to be darkly comical, i find the string overrides module most useful for getting rid of nerdy drupal language (it's all over the place, legacy text throughout drupal instead of plain language) AND for correcting output from modules developed by non-native english speakers who are trying to put out a first release in english only (things like "sing in here" instead of sign in etc...) - it's a very powerful little tool and keeps people out of core module files or other core drupal stuff...in my mind a perfect candidate for a 'core' utility ;)

#7

greggles - October 31, 2008 - 00:20

It is in core. It's called "locale".

String Overrides was developed to be a "light weight" solution beyond locale, but subsequent performance tests show that locale and string overrides are about the same speed.

#8

zilla - October 31, 2008 - 02:14

@greggles - didn't realize that...i know that people have used locale for the same purpose for a long time, the SO module just seemed to be a more intuitive way to handle minor edits and modifications for users who don't want to mess around with language related changes - and coupled with tools like form editors, it's quite useful...

#9

guitarrasybajos - June 2, 2009 - 15:35

Mee too,
Its a necessary feature.

Offtopic:
If you are using flat comments, users can not understand the “all comments” or “replies to my comment option”

#10

greggles - June 2, 2009 - 15:46

Offtopic:

Quite - better to open a new issue.

If you are using flat comments, users can not understand the “all comments” or “replies to my comment option”

Administer > Site configuration > Comment notify. Disable the "replies to my comment" option. Then users will only see a checkbox and will no longer be confused.

#11

guitarrasybajos - June 3, 2009 - 10:43

they can still seen it in their personal menu (My account).

#13

WildBill - October 6, 2009 - 18:51

Just wanted to steer this back to the original issue - the need for a customizable Subject field...

 
 

Drupal is a registered trademark of Dries Buytaert.