Hello Everyone,

Please help me.

I recently install a simplenews module and add different issues in one newsletter type.

Now my requirement is that i want to send all of issues of that particular newsletter in one email at a time.

I reviewed and test the newsletter module and found that we can send one issue at a time to all subscribers.

But how we send the multiple issues in one email to all subscribers. I need to customize the simple news body template file for multiple issues of a newsletter but right now we can customize only for the single issue.

Please help me..I desperately need a help or suggest me other module.

Thanks in advance

Vikas

Comments

dddave’s picture

Project: Drupal core » Simplenews
Version: 6.20 » 6.x-2.x-dev
Component: other » Documentation
Priority: Critical » Major

This is not a core issue. Sending to the correct queue.

simon georges’s picture

Using Simplenews_Content_Selection module, you can create a newsletter from several nodes. If the nodes are ancient issues of the newsletters, you may be able to send them all in one e-mail. Caution, by default, Simplenews_Content_Selection only put teasers on the newly created newsletter, so you have to tune the theme() function.

vikas123sahu’s picture

Hi Simon,

Thank you very much for your help..:)

I installed the SCS module and now able to send the multiple issues.

But can you suggest me one thing..i need to customize the body content...for this i search there is function called theme_scs_node_output() where individual node body are creating...

Now how i need to customize this so that i can add my own css classes and styles in body content. I need to change the email body template.

Any suggestion will be helpful.

Thanks again

Vikas

simon georges’s picture

Project: Simplenews » Simplenews Content Selection
Version: 6.x-2.x-dev » 6.x-1.x-dev
Priority: Major » Normal

I suggest to move now this issue to the Simplenews Content Selection issue queue ;)

dtrdewaele’s picture

Status: Active » Fixed

Simplenews Content Selection has multiple theme function

function theme_scs_node_output. This function themes one individual node in the newsletter.
function theme_scs_newsletter_output. This function themes the full newsletter body of the newsletter created with SCS.

You can override this function in your template.php.

Naiya’s picture

FYI: (for newbies) You can override this as @coworks_dieter said (and You should do this in order to safe update!)

on default settings in Your template.php add:

/**
 * Each selected node goes true this function to create a nice body - overriden from SCS module
 */
function phptemplate_scs_node_output($node) {
      // Your code here
   return $output;
} 

You may want clear Your cache (admin/settings/performance)

Greetings,

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sathishs’s picture

Hi i am installing the simple news module for drupal 7, It doesn't send mail to the subscribed users, There is any idea to send the updations to the subscribed users????