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.
Hi,
i use views send as it is a very helpful module. I have a question though..
When i create the email body i use some token replacements. Specifically i need the
[current-page:url:absolute]
When i send the message the token doesn't get replaced with the URL.
Do you know why this is happening?
Is there any advice?
Edit: i have Tokens module enabled
Thank you
Comments
Comment #1
Jc Denton CreditAttribution: Jc Denton commentedHello again i figured it out..
I needed the token filter module in order to replace tokens in body section.
Comment #2
hansfn CreditAttribution: hansfn commentedNo, you shouldn't need the token filter module. Any general tokens should be automatically replaced. In addition replacements for node/user should work if there is a nid/uid in the view.
You have discovered a bug which has been present for a long time. Commit 69d1911 fixes the issue. I'll release 7.x-1.0-rc2 later this week.
Comment #3
Jc Denton CreditAttribution: Jc Denton commentedThanks for your reply. I will try the patch!
Comment #4
Jc Denton CreditAttribution: Jc Denton commentedYes! the changes fixed the issue.
Thank you
Comment #5.0
(not verified) CreditAttribution: commentedupdate information