I am using Mail Editor to customise mail sent by Subscriptions Mail. I am also using !cckvalue1_field_date as one of the replacement patterns in order to display the date used in Calendar/Date Modules.
The date is being displayed in the emails as:
Saturday, 25 July, 2009 - 09:30 - 14:00
Can someone please tell me how to get rid of the span tags in the emails and just show the date.
Comments
Comment #1
salvisSeems related to #339076: HTML entities appear in plain text CCK field. Unfortunately, there was no answer from the CCK people...
Did you mean to write
<span>Saturday, 25 July, 2009 - 09:30 - 14:00</span>
?
IAC, it's not a Mail Editor issue, but a Subscriptions or CCK issue.
Comment #2
scubasmurf commentedYeah, I meant
<span class="date-display-single">Saturday, 25 July, 2009 - <span class="date-display-start">09:30</span><span class="date-display-separator"> - </span><span class="date-display-end">14:00</span></span>Thanks for pointing me in the right direction.
Comment #3
salvisOk, I'll give this another look.
Comment #4
salvisAh, sorry, this slipped through the cracks. Please try the following:
Locate the lines
in subscriptions_cck.module and add a line between them, so that it looks like
Does this help?
Comment #5
scubasmurf commentedExcellent!
The output format is "Friday, 2 October, 2009 (All day) - Monday, 5 October, 2009 (All day)"
Thank you.
Comment #6
salvisGreat, I'll slip-stream it into the release. Thanks.
Comment #7
salvis