This module allows you to select content from your website and send a newsletter with the selected content.
- Select content at admin/content/scs_node_selection (only *.x-1.x branches)
- Select content at admin/content/node and choose Create newsletter as operation
- Views Integration
- This submodule depends on Views and Views Bulk Operations (VBO)
- Create a view with whatever filters/orders/display you want and choose the action Create newsletter with VBO
- Drupal 6 release has been created
- Drupal 7.x-1.x branch, straight port from D6, minimally maintained (bugfixes only)
- Drupal 7.x-2.x branch, fully harnessing the power of view modes, rewritten from scratch, fully maintained
Wherever you select nodes to create a newsletter. Each nodes goes true theme_scs_node_output. Override this in your theme and create a unique style for each node/node type.
Since version 6.x-1.6 theme_scs_node_output has to go in the FRONTEND theme of your Drupal installation
This branch uses the power of view modes to render nodes. This means that it goes through node preprocesses and can have its own template. For example you can do:
// Remove submitted info
$vars['display_submitted'] = FALSE;
// Add template suggestions based on view modes
$vars['theme_hook_suggestions'] = 'node__' . $vars['view_mode'];
$vars['theme_hook_suggestions'] = 'node__' . $vars['view_mode'] . '__' . $vars['type'];
Important: Verify that you do these in the theme used to render the newsletter, that may be your admin theme!