Announcement email formatting

1 view
Skip to first unread message

JMW

unread,
Sep 30, 2009, 10:25:20 AM9/30/09
to Pinax Users
Greetings,
I'm using 0.7 B3 and I'm trying to format Announcement email. I
want to allow links in the Announcement so I'm using tiny_mce to
format the Announcement "Content" field. I need to remove the html
formatting from the Content field when sending out emails when "Send
now" is selected. My questions are:
1) Is there an easy way to remove the html from the Content
field?
2) Is there a better way to both allow html in the Announcement on
the web and not have it in the email of the Announcement.
JMW

pablo platt

unread,
Sep 30, 2009, 11:26:15 AM9/30/09
to pinax...@googlegroups.com
maybe the documentation can help?
http://pinaxproject.com/docs/0.7/external/notification/usage.html#notification-templates

Do you think it is a good idea to have a management command that will collect all the notifications?
Currently, if you want to override all the notifications templates spread across several apps it's hard.
In addition, in the future when the cool plugable-notification branch will be included it will help to create a new media type.
So it could be part of the build_media command or as a separate build_notifications commands.

JMW

unread,
Sep 30, 2009, 12:23:12 PM9/30/09
to Pinax Users

On Sep 30, 8:26 am, pablo platt <pablo.pl...@gmail.com> wrote:
> maybe the documentation can help?http://pinaxproject.com/docs/0.7/external/notification/usage.html#not...
>
Thanks.
I thought I searched the documentation and embarrassed that I missed
it.

> Do you think it is a good idea to have a management command that will
> collect all the notifications?
> Currently, if you want to override all the notifications templates spread
> across several apps it's hard.
> In addition, in the future when the cool plugable-notification branch will
> be included it will help to create a new media type.
> So it could be part of the build_media command or as a separate
> build_notifications commands.

I see your point. I'll look into it.
Reply all
Reply to author
Forward
0 new messages