Drupal simplenews scheduler - snippet to stop and restart
$30-50 USD
Closed
Posted almost 12 years ago
$30-50 USD
Paid on delivery
Using: Drupal simplenews scheduler 6.x-2.x-dev
I need a php snippet that will allow me to send newsletter only if the inserted view (daily_beat) has items. The said snippet is to be put on the "Additionally only create newsletter edition if the following code is true:" field.
I understand that the simplenews scheduler module has a bug (see issue here: [login to view URL]), in that it can have a snippet inserted that will STOP sending messages if the view is empty, but it will not START sending again if the view contains items.
I need the snippet (or some other solution) to restart sending the messages automatically when the view has new data.
Thank you.