Hi!
I need to create a newsletter in drupal, and i added SimpleNews, but I can't really make it work the way I want.
I want to generate a default newsletter containing news from a content type I made called news.
Ideal I want the siteadmin to choose which news should be included in the newsletter. When the siteadmin has chosen which news the newsletter should contain I want to generate the HTML code containing the newsletter, then I want to allow the siteadmin to edit the HTML mail in TinyMCE before the mail is sent out.
In other words I want to generate a html mail from drupal content, then I want to be able to edit the html, then save.
I already tried this: http://drupal.org/node/268404
But as far as I see I can't edit the HTML with the content in, that way loosing control of what is being sent out...
Hope someone can help me?
Kind regards
Morten
Comments
In fact, you're talking
In fact, you're talking about a combination of cck fields: a text area that loads the body of a referenced node. You can probably do that with javascript: add an event listner to the node reference fields. When a node is referenced, the node is loaded (ajax!) and the text field is updated. You would also have to make sure that a new text area is added to the edit-page for every node referenced. I have never done something like this before, but if you say "no problem, i can do that" then please do (and report back and share your scripts here :-))
I can also think of an easier workaround: with CCK, you could add a text area to the content types you want to reference in newsletters. The webmaster can add a newsletter-version of the content to the node. Simplenews only loads this field and ignores the normal body field.