Download & Extend

Token support for email bodies

Project:Send
Version:master
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello, i did like to see a node title token in this module cause thats nicer to style..

so we have somethinh like this "Hey, I think you might like {node-title}, check it out.

Comments

#1

Assigned to:demon326@drupal.org» Anonymous

Yes, this would be great. There are a number of tokens that would be nice to support (%node_title, %from_address, %from_name, etc, etc). %node_title is complicated by the fact that there can be multiple nodes in a single message...

However, it sounds like you're not planning to write this code yourself, right? If not, you shouldn't "assign" the issue to yourself. That field is to keep track of who's working on the code. Please assign it back to yourself if you're really planning to supply a patch. Otherwise, leave it unassigned so that everyone knows no one is working on it yet, and it wouldn't be duplicate effort if I or another developer wanted to crank out a patch.

Cheers,
-Derek

#2

Title:Node title token» Token support for email bodies
Version:5.x-1.x-dev» master

How about token support in general?

#3

This is now a documentation/UI issue.

Under admin/settings/send/templates, you can include any node token (e.g. [title]) in your message template, and/or you can use tokens from additional nodes with [nodeN-tokenname] where N is the sequence of nodes in the message starting with 1.

A patch that includes the 'available tokens' and/or some documentation would be most welcome ;)

#4

subscribing

nobody click here