Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have almost finished my digest email template which is set up as default for all users. However they are still able to switch that off, so that they will receive the emails for every content item separately. This obliged me to create similar templates for every content item!
I like an option to disallow my users to unsubscribe from the digest emails (so that I only have to maintain 1 template). I can't find that option under the "user defaults". How do I set this up?
Comments
Comment #1
salvisThere's currently no support for that. We'll either need a new option under "Visibility of controls", or you form_alter() away the Digest option from your users' form.
Comment #2
herbiek CreditAttribution: herbiek commentedMay I change this in a feature request then?
Comment #3
herbiek CreditAttribution: herbiek commentedComment #4
salvisThis type of request is usually "won't fix", because it's not a common request and you can do it yourself with a simple hook_form_alter(). If you need it now, that's the route you'll have to take.
However, this fits in with another feature that I'd like to implement at some point, so I'll keep it open, but I can't promise you if/when it will actually happen.