Needs review
Project:
Notifications
Version:
6.x-4.0-beta6
Component:
Notifications
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Feb 2011 at 19:58 UTC
Updated:
23 Jan 2015 at 19:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
LaurentGoderre commentedWe have the same problem!
Comment #2
LaurentGoderre commentedI dissected the code and I couldn't find where it is from but I suspect it might actually be created by the mail module. Are you using PHPMailer?
Comment #3
FrancoisL commentedHello,
I had the same problem with my emails.
I just found the solution today to resolve this. After checking files in notification modules. I checked messaging module and found in "messaging_mail.module":
I removed the two hyphens in this line:
'footer' => "\n--", // Separator for message footerand it worked just for footer hyphens.
There is the same line in « messaging_mime_mail.module » and « messaging_phpmailer.module ». if the first correction dosen't work try one or both of this files too but this was not necessary for me.
I think that the solution is no more in Notifications module but in messaging.
François
Comment #4
chipway commentedThis issue is quite uncredible.
You can fix it only by replacing theme function on line 978 in notifications.cron.inc
function theme_notifications_digest_short_line($line, $group) {
return '- ' . $line;
}
by
function theme_notifications_digest_short_line($line, $group) {
return $line;
}
This line introduce some design choice in the code (add a dash !). This choice should be left to designer at CSS or theme level.
I tried to change it by overriding theme (phptemplate_notifications_digest_short_line, then mytheme_notifications_digest_short_line
by it wasn't taken into account.
Tried lot of things to do it run (phptemplate_, mytheme_, deleting theme registry), but only the patch makes it run.
Comment #5
chipway commentedHere is the patch for comment #4.
Please check it and apply.
Comment #6
chipway commentedComment #7
anandinalla commentedno coment
Comment #8
silvadalula commentedHello.
Can you send me the patch? the link don't go.
Thanks.
Comment #9
chipway commentedHere is the patch for comment #4, as is.
Could you re-roll and test it?
Let me know if it is useful.
Comment #10
chipway commentedTried once more.
Comment #11
srees commentedJust ran across this myself. Very confused why the template theme overrides refuse to work. Wondering if perhaps during cron all the theming hooks may not get run?
Haha...never thought about cron using the admin theme instead of the primary drupal theme. Added overrides to the admin theme and voila!