Download & Extend

Subscriptions Email Notification Table of Contents

Project:Subscriptions
Version:5.x-2.0
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi-

I have been using a custom Perl script that someone wrote me to, for all intents and purposes, do the same thing as the Subscriptions module - Send out email notifications for new content. This was written several years ago, before there was any good solution already available for doing this.

I am now, however, installing the Subscriptions module to replace this antique. I have shopped around and decided that the combination of the Subscriptions, Mail Editor, and HTML to Text is the best solution for me.

However, it is a surprise to me that this does not offer me some sort of Table of Contents solution for the email notifications. The Perl script I had generated a Table of Contents for the top of the email. So the TOC looked something like this:

------------------------------------------------------------
Digest Table of Contents
------------------------------------------------------------
1. This is the title of the first node
2. This is the title of the second node
3. This is a title for a comment
4. This is a title for another node
------------------------------------------------------------

I think this is something useful that should be added to the Mail Template (at least for the Digest template). I am thinking that this would have a couple tokens of its own and would have a text box of its own for configuration (similar to "Digest item comment" box on the mail_edit/subscriptions-digest page).

I wish I were able to write it so that I could just submit it to you as a contribution, unfortunately I am not a programmer.

Let me know your thoughts. Thanks!

Comments

#1

Yes, this is a nice idea, and it should be quite easy to do. In

<?php
   
foreach ($mails as $uid => $user_mails) {
?>

you have all the digest items that go into one digest mail. Anyone wants to try it?

#2

As I mentioned, I'd try to implement this if I was any good with PHP. Unfortunately I don't have enough experience. Thanks and kudos to anyone who is able to get it implemented! : )

#3

here, here...I'd like to see this too.

subscribing

#4

Subscribing. This would be awesome.

nobody click here