[support] last post on token problems

Jim Ruby jim at v-community.com
Thu Sep 8 17:46:12 UTC 2011


I have looked all over drupal, read the post from hell and I still see no
way to make this work, so do I just need to wait. I have created an action
to send out email when a post is created or updated and after it is created.
I want it to display the current page information so a person receiving the
email can click on the inks and go to that page or directly download the
file attachment.
Another thing I have noticed is I have two email addresses at the end of the
body and it assed [1] and [2] and it added the emails at the end of the
email.
Stumped
I think I can get the term to expand by using:
http://drupal.org/project/taxonomy_entity_index
. It provides a [node:terms] token so that you can use [node:terms:first] to
get
the 'first' term associated with a node, just like the Drupal 6 [term-raw]
token.
Now how to get the file: tokens to expand.


Here is what I got in the action email:

A post has been created in
[term:vocabulary]
In the 
[term:name]
section.
It was created on:
[node:created]
The title is:
[node:title]

The body is:
[node:body]

The uurl is:
[node:url]
the absolute url is
[node:url:absolute]
the url alias is
[node:url:alias]
Direct download is
[file:url]

Made possible by
[site:name]
[site:slogan]
[site:url]

The email ends up looking like this:

Subject: [term:vocabulary] posted at test 7
A post has been created in
[term:vocabulary]
In the
[term:name]
section.
It was created on:
Tue, 04/19/2011 - 20:00
The title is:
Accessible World Presents All Things Coffee On Classroom Of The Air with
Gerry Leary
The body is:
I can't get through the beginning of any morning without it. Friends say I
am not worth talking to before I have had a cup or two  and will enquire
whether I have had any  before embarking on any topic of discussion in which
they need my attention and participation. What can so affect my morning?
Coffee, of course.

Joe smith
Email: joe at example.com [1]
John smith
E-mail: john at example.com [2]

The uurl is:
http://test.com/7/node/300
the absolute url is
http://test.com/7/node/
the url alias is
node/
Direct download is
[file:url]

Made possible by
test 7
Providing testing Internet Resources around the globe.
http://test.com/7/

[1] mailto:jow at example.com
[2] mailto:john at ecample.com



More information about the support mailing list