Questions tagged [tokens]

Equivalent of mail merge fields. Facilitates to insert information from the database into an email or a letter that is different for every recipient.

34 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
18 views

How can I add Subscribe Message subject line token?

When users sign up to several mailing lists via our webform, they receive automatic 'Subscribe Message' confirmation emails for double opt-in. If they have attempted to sign up to two groups at the ...
4
votes
0answers
166 views

How to use Contribution Token {contribution.amount_level}?

The contribution tokens contain the token {contribution.amount_level}. I find this tokens via find contributions -> Email send now I was hoping this token would return information about the Price Set ...
3
votes
0answers
34 views

Custom Tokens TOKEN_REGISTER not getting invoked

CiviCRM 5.9.1 Drupal 7.61 Trying to create custom tokens using "hook_civicrm_container", TOKEN_REGISTER is getting set as well as TOKEN_EVALUATE function in $container variable but TOKEN_REGISTER ...
3
votes
0answers
74 views

How can I send an event-specific PDF certificate to participants via email?

Using Civirules and the PDF Creation API extension I can send an email with an attached PDF containing tokenised content to a contact based on a specified trigger and conditions. What I want to do is ...
3
votes
1answer
176 views

How can I chase up mailing list subscribers who don't confirm their opt-in?

When someone adds themselves to a group that is configured as a mailing list they get sent an email with a confirmation link. The email includes the token: {subscribe.url} We now have something like ...
2
votes
0answers
17 views

CiviMail tokens to share the public mailing URL on social media

As a site admin using CiviMail/Mosaico, is there an easy way to add links to share the mailing content on social media? I am guessing I could write HTML using a link such as: http://twitter.com/share?...
2
votes
0answers
26 views

How to change the date format for a mailing token for a custom date field

We have a date field, custom, set to be dd-mm-yyyy but when we add a token for that custom field in a mailing it comes out as yyyy-mm-dd hh:mm:ss How do we change this
2
votes
2answers
48 views

Can custom Tokens for pledges be created?

I need to include the amount pledged and the amount they need to pay (which are different values) within an email I'm sending from CiviMail to let our pledgers know when/how to pay and how much. This ...
2
votes
0answers
92 views

Contribution tokens for receipts

We're trying to create online receipts for Memberships, Contributions and Events and we would like to include the contribution source, and payment instrument for in the receipts. The question is, is ...
1
vote
0answers
17 views

Warning: array_search() expects parameter 2 to be array, null given in CRM_Contribute_BAO_Contribution::getContributionTokenValues()

Steps to reproduce: Search -> Find contribution Search for a contribution Choose "Email - send now" as action Choose an email template with a token. In our case we just use the token &...
1
vote
0answers
9 views

Forward to Friend broken; customizing the form

I just switched a CiviCRM installation over to Amazon AWS's SES email service, which will ONLY send our from verified domain email addresses. The CiviMail forward-to-a-friend link form assumes the ...
1
vote
0answers
23 views

Employer ID token not working with Mosaico

I'm composing an email with Mosaico that requires the following tokens: {contact.display_name} {contact.contact_id} {contact.current_employer} {contact.current_employer_id} The first three tokens work ...
1
vote
0answers
33 views

How to get {mailing.viewUrl} & {contact.checksum} to work together?

So, both tokens work fine when sending mailings.. however, whenever I view the mailing in the browser by using the {mailing.viewUrl} token.. any url I have in the mailing that uses the {contact....
1
vote
0answers
34 views

Problems inserting action tokens with default wysiwyg HTML editor

CiviCRM 5.14.0 This is a new site and I am testing inserting action tokens in emails. If I use the link symbol in the wysiwyg, it inserts double-quotes around the link but the {aciont.reply} already ...
1
vote
0answers
25 views

Custom token to get the FROM Address

I'm writing a custom token in order to expose in the mail body the selected FROM address. Is this possible?
1
vote
0answers
94 views

Documentation on using CiviCase tokens

Civicase Tokens Extension does not have documentation. I am trying to use the tokens to do a print/merge of case information. The print page is blank. Any suggestions? Have case tokens been used ...
1
vote
0answers
29 views

How to use a scheduled reminder to alert an administrator when a membership expires?

I want to set up a simple scheduled reminder that fires an email to an administrator (only - not to the expiring member as well) to alert them to the fact that a membership has just expired. I'm ...
1
vote
0answers
102 views

Use of tokens in Events - Online Registration Intro Text and Confirmation email

We have events over multiple days. The Intro Text on the confirmation screen and the confirmation email only show start date and time and end date and time. Registrants don't see the specific dates ...
1
vote
0answers
107 views

Custom Contribution Fields in Message Templates

I've been trying to get my custom contribution fields to be visible in my thank you/receipt message template and I think I am close but not quite there. I have enabled the CIVICRM_MAIL_SMARTY flag in ...
1
vote
0answers
40 views

Missing total amount in receipt after civicrm upgrade 4.5 to 4.6

I have upgrade civicrm 4.5 to 4.6. After that token {$formValues.total_amount|crmMoney:$currency} is not printing the total amount in emails. The template used is one of the System workflow messages ...
1
vote
0answers
37 views

Extensions not discoverable in Civi 4.7.7

I am recreating a Joomla site (3.5.1) with Civi 4.6.10 and upgrading to civi 4.7.7. I have been unable to install extensions on the new site that were working under 4.6.10. I made sure I had the ...
1
vote
0answers
28 views

Updating message template receipt to include all of the price fields selected in a price set

Our membership form uses a price set with 7 price fields - the "umbrella" membership and then optional extra memberships (sub-memberships for affiliated groups). In the message template used for the ...
1
vote
0answers
84 views

Tokens not entered when using default Drupal CKEditor (with module Wysiwyg)

This question was already in the old forum. But no answers and I have the problem. Set up details: Drupal 7.latest and civicrm 4.6.2 series Drupal CKEditor is installed in a 'libraries' subdirectory ...
0
votes
0answers
24 views

Custom token for Events in scheduled reminder s

We tried to follow https://civicrm.stackexchange.com/a/10907/7846 from Noah Miller to use a custom event token in a scheduled reminder without success. We dumped all the variables used by the hook ...
0
votes
0answers
20 views

TokenProcessor container is created but functions aren't called on event dispatch

I'm following the example in the docs. But having figuring out why the registered functions aren't getting called. Here's my code (well part of it anyway): function example_civicrm_container($...
0
votes
0answers
14 views

tokens in email invoice personal message

When emailing invoices, there is a message field described as "If you would like to add personal message to email please add it here." How can I use tokens in that message. It is essentially ...
0
votes
0answers
28 views

How to add pre-existing case id to webform

Similar to contact id, I find that it would often be beneficial to add the case id to a webform for email submitted via a webform. Is there a token or a work-around to add the case id for pre-existing ...
0
votes
0answers
17 views

Clicking a tokenized link for another contact leads to your activities being recorded as belonging to that user

This seems like a weird case that probably doesn't come up much, but it does seem to indicate something odd is happening. If you are logged and click on a link for a Drupal webform with contact and ...
0
votes
0answers
14 views

there is an error in your request - civimail opt-out from browser

I have started receiving opt-out error messages from users who try opting out of bulk mailing. This only happens if user views email following the {mailing.viewUrl} token. The opt-out link works if it ...
0
votes
0answers
40 views

Contact name Tokens for multiple relationships

I have a contact (individual) owner of several organization. He will pay the membership for all organizations. I need to send a contribution receipt showing that John Doe paid 100€ for ...
0
votes
0answers
14 views

Tokens are not populated in the mail sent by webforms

After upgrading to 5.24.4, then 5.25.0, Tokens are empty in the mails sent by webforms : e.g. : [submission:date:long], [submission:user],[submission:values],[submission:url] The mail only contains : ...
0
votes
1answer
25 views

Permissions help with using action.forward token in an email

I want to add a forward to a friend at the bottom of an email. When recipient clicks they see the "enter up to 5 email address" page however if they are a non-authenticated user they get a Undefined ...
0
votes
0answers
27 views

{membership.type} token not being filled out/sent in activity based scheduled reminders

Based on the results of this question (Membership Renewal Reminders not Sending for Upgraded Memberships) we switched our Scheduled Reminders to be activity based. Now, the {membership.type} token ...
0
votes
0answers
182 views

CiviMail not recognizing Tokens

After upgrading to civi 4.4.19 Civi doesn't recognize built in tokens. The upgrade was smooth with no errors reported. Symptoms are as follows: (1) If {domain.address} and {action.optOutUrl} are in ...