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

salvis’s picture

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

    foreach ($mails as $uid => $user_mails) {

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

RobertNelsonVance’s picture

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! : )

mdowsett’s picture

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

subscribing

gregarios’s picture

Subscribing. This would be awesome.

vuil’s picture

Status: Active » Closed (outdated)

Closed as Closed (oudated) of 10 years old issue.