Subscription digest
I am trying to configure a digest and the documentation on the main page is not enough. There is more info in http://drupal.org/node/702806. Please add anything else you find.
Digests do not happen until you switch on Digest mode in /admin/config/system/subscriptions/userdefaults.
The user will not see any difference in their subscriptions profile.
/user/181335/subscriptions
/user/181335/subscriptions/type
/user/181335/subscriptions/taxa
Changing existing users
The central settings, including Send interval, are only defaults for new users. If you change them, they do not change existing users. To change all the settings for all users, you could run an SQL update in phpMyAdmin or similar.
Send interval
When you first create a user, you will get several digests in the first day. Assume your cron runs every hour and your user requests an email daily, you will get the first digest after an hour then one after three hours then the daily one. On subsequent days, it will be one every day.
Testing
There is not obvious way of testing digests. You can test a content type subscription by unpublishing the content then publishing it then running cron manually. You have a user subscribed with the interval of immediate. Unfortunately you have to wait until the next day for the digest.
You could perform every digest test with a new user and get their first digest on the first cron.
Here is a trick I used. I deleted my test user out of subscriptions_last_sent then unpublished some nodes then published the nodes then ran cron. The test user received the digest on the first cron as if they were a new user.
Mixed digest and non digest
The relationship between the Send interval and the digest is not immediately clear. I tested with the Send interval set to immediate, published two nodes, cronned, and received both in a digest. I guess that means you may not have some subscriptions immediately as separate email and some as a daily digest.
Setting one subscription to immediate would produce an immediate mail if your cron runs every minute and there is only one node updated each minute. When you have cron set to an hour, all the immediate subscriptions will be sent as a digest at the end of the hour.
Table of contents
Sort contents
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion